2009-01-04 11:31:31

by Robin H. Johnson

[permalink] [raw]
Subject: reiserfs broken "unknown uniqueness" (commit c1eaa26b671299b3ec01d40c6c71ee19a4f81517)

(Please CC, not on LKML).

Reiserfs broken recently, git bisect narrows it down to commit
c1eaa26b671299b3ec01d40c6c71ee19a4f81517.

[ 52.365262] ReiserFS: warning: vs-500: unknown uniqueness -30719
...
[27630.378732] ReiserFS: warning: vs-500: unknown uniqueness -30720
(and many more of the same with one of those two numbers on the end).

Manifests as various file creation operations failing, like:
(my /usr/src is on reiserfs with tail-packing enabled)
cd /usr/src && git clone --local file://`pwd`/linux linux.testcase

Git fails at creating the .config file in this example.

I had originally thought that my filesystem was corrupt, but fsck showed me to
be clean, and a different kernel caused the problem to go away.

I don't know enough of inode internals to understand why it broke like this.
(Anybody looking to confirm the string, it's from the uniqueness2type function
defined in "include/linux/reiserfs_fs.h").

--
Robin Hugh Johnson
Gentoo Linux Developer & Infra Guy
E-Mail : [email protected]
GnuPG FP : 11AC BA4F 4778 E3F6 E4ED F38E B27B 944E 3488 4E85


Attachments:
(No filename) (1.06 kB)
(No filename) (329.00 B)
Download all attachments

2009-01-04 12:53:40

by Jeff Chua

[permalink] [raw]
Subject: Re: reiserfs broken "unknown uniqueness" (commit c1eaa26b671299b3ec01d40c6c71ee19a4f81517)

It's fixed in the link to this one ...

reiserfs broken with 2.6.28-17244-gb58602a


Jeff.


On Sun, Jan 4, 2009 at 7:24 PM, Robin H. Johnson
> Reiserfs broken recently, git bisect narrows it down to commit
> c1eaa26b671299b3ec01d40c6c71ee19a4f81517.
>
> [ 52.365262] ReiserFS: warning: vs-500: unknown uniqueness -30719
> ...
> [27630.378732] ReiserFS: warning: vs-500: unknown uniqueness -30720
> (and many more of the same with one of those two numbers on the end).
>


Attachments:
(No filename) (476.00 B)
patch-inode.c (4.62 kB)
Download all attachments

2009-01-05 01:14:52

by Robin H. Johnson

[permalink] [raw]
Subject: Re: reiserfs broken "unknown uniqueness" (commit c1eaa26b671299b3ec01d40c6c71ee19a4f81517)

On Sun, Jan 04, 2009 at 08:53:29PM +0800, Jeff Chua wrote:
> It's fixed in the link to this one ...
> reiserfs broken with 2.6.28-17244-gb58602a
Ok, I confirm that Al's patch fixes it, send it to Linus?

--
Robin Hugh Johnson
Gentoo Linux Developer & Infra Guy
E-Mail : [email protected]
GnuPG FP : 11AC BA4F 4778 E3F6 E4ED F38E B27B 944E 3488 4E85


Attachments:
(No filename) (361.00 B)
(No filename) (329.00 B)
Download all attachments

2009-01-05 01:25:40

by Al Viro

[permalink] [raw]
Subject: Re: reiserfs broken "unknown uniqueness" (commit c1eaa26b671299b3ec01d40c6c71ee19a4f81517)

On Sun, Jan 04, 2009 at 05:07:10PM -0800, Robin H. Johnson wrote:
> On Sun, Jan 04, 2009 at 08:53:29PM +0800, Jeff Chua wrote:
> > It's fixed in the link to this one ...
> > reiserfs broken with 2.6.28-17244-gb58602a
> Ok, I confirm that Al's patch fixes it, send it to Linus?

It'll go with tonight's pile.