All of lore.kernel.org
 help / color / mirror / Atom feed
From: "David Dabbs" <david@dabbs.net>
To: reiserfs-list@namesys.com
Subject: fsck.reiser4 problem (was: reiser4 corruption problem)
Date: Mon, 30 Aug 2004 21:07:41 -0000	[thread overview]
Message-ID: <20040830210735.6104715C98@mail03.powweb.com> (raw)

Michael Weissenbacher wrote:

>i've investigated this problem further the last days and came to the 
>following conclusions:
>[...]
>fsck does not like all contain german umlauts. but otoh there are 
>filenames with umlauts that are ok!
>
>here are some filenames that fail:
 0123456789012345
>BewerbungFürAnw   altsbüro.doc
>Graphik01Marken     identität.sxd
>SkriptumzumSemi   narFühren.doc
>WieTeamseffizie       ntwerdenkönnen.doc

 0123456789012345
>but otoh these work:
>WerbeKärntnerBa     llonwerbung.sxw
>Vo 08 - 29. Mär        z 2001.pdf
>TschöranKirche.        jpg
>VölkermarktKirc        heGross.jpg
>

Even though both file sets contain umlauts, or perhaps more accurately extended ASCII chartacters, there is something distinctive in the "failure" set: the umlauts/extended characters appear after the 15th character. If you are using REISER4_LARGE_KEYS, the first fifteen characters will be shifted into the second and third key elements with the final key el containing the hash of the remaining characters 

key = { [dirhash], [hash_bit+fibre_bits+1st 7 chars], [next 8 chars], [hash] }

Code in fs/reiser4/kassign.c assembles the key and uses your chosen hash, R5 being the default. If you created the files without failure, could read/opened them okay but then FSCK reported problems, could this point to a difference in the hash code (w.r.t. extended ASCII)? I'm on holiday now, so cannot check to see if this suspicion holds any water. 

David

p.s. One other possibility is that there is some extended ASCII variance in the the fibration code, but this seems unlikely. 



             reply	other threads:[~2004-08-30 21:07 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-08-30 21:07 David Dabbs [this message]
2004-08-31  0:02 ` fsck.reiser4 problem (was: reiser4 corruption problem) Michael Weissenbacher
  -- strict thread matches above, loose matches on Subject: below --
2004-08-31 16:18 David Dabbs
2004-08-31 16:32 ` Michael Weissenbacher
2004-08-31  1:24 David Dabbs
2004-08-31  8:52 ` Michael Weissenbacher
2004-08-31 10:09 ` Andreas
2004-08-31 12:30   ` Vladimir Saveliev
2004-08-31 12:37     ` Michael Weissenbacher
2004-08-31 14:03     ` Andreas
2004-08-31 14:43       ` Vladimir Saveliev
2004-08-31 15:04         ` Michael Weissenbacher
2004-08-31  1:10 David Dabbs
2004-08-26 23:15 reiser4 corruption problem (maybe related to "Broken reiser4 FS") Michael Weissenbacher
2004-08-28 21:49 ` fsck.reiser4 problem (was: reiser4 corruption problem) Michael Weissenbacher
2004-08-29  6:54   ` Adrian Ulrich

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20040830210735.6104715C98@mail03.powweb.com \
    --to=david@dabbs.net \
    --cc=reiserfs-list@namesys.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.