Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 237393 - sys-fs/reiser4progs reiser4progs-1.0.6-preen.patch implemented wrongly.
Summary: sys-fs/reiser4progs reiser4progs-1.0.6-preen.patch implemented wrongly.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] baselayout (show other bugs)
Hardware: All Linux
: High major with 2 votes (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
: 226463 (view as bug list)
Depends on:
Blocks: 195988
  Show dependency tree
 
Reported: 2008-09-11 11:07 UTC by Anders Aagaard
Modified: 2008-10-26 12:29 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Let -p "preen" fallthrough to -a "auto". (reiser4progs-1.0.6-preen-r2.patch,2.34 KB, patch)
2008-09-11 11:07 UTC, Anders Aagaard
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Anders Aagaard 2008-09-11 11:07:16 UTC
The reiser4progs patch added in 1.0.6-r1 adding -p "preen" support to reiser4progs is implemented wrongly, causing a fsck on every boot, including when the filesystem is marked clean.

Boot time on my usb pen:
with old patch : 4 minutes 23 seconds
with my patch : 41 seconds.

This is obviously a pretty big flaw.

Please see http://thread.gmane.org/gmane.comp.file-systems.reiserfs.general/21324 for more information, Edward Shishkin (current reiser4 maintainer) confirms that this patch is correct behavior.  The only thing it'll break is docs (refering to -p as list plugins, not preen).

I've used reiser4 on and off on different media for a while now, and thought reiser4 fsck was this slow during it's development period, so this patch is obviously a pretty big bug from the gentoo team, especially for something this easy to fix, therefor marking as major.

Reproducible: Always
Comment 1 Anders Aagaard 2008-09-11 11:07:52 UTC
Created attachment 165196 [details, diff]
Let -p "preen" fallthrough to -a "auto".
Comment 2 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2008-09-11 19:46:17 UTC
vapier: Did you have some comments on this one. Confusing looking at the related bug and whatnot. thx
Comment 3 edward 2008-09-20 17:35:13 UTC
(In reply to comment #0)
> The reiser4progs patch added in 1.0.6-r1 adding -p "preen" support to
> reiser4progs is implemented wrongly, causing a fsck on every boot, including
> when the filesystem is marked clean.
> 
> Boot time on my usb pen:
> with old patch : 4 minutes 23 seconds
> with my patch : 41 seconds.
> 
> This is obviously a pretty big flaw.
> 
> Please see
> http://thread.gmane.org/gmane.comp.file-systems.reiserfs.general/21324 for more
> information, Edward Shishkin (current reiser4 maintainer) confirms that this
> patch is correct behavior.

Actually, I didn't.

Please, consider the let-preen-fall-through-to-auto patch.
Checking a reiser4 partition on every boot is wrong behavior.
It is not supposed to be checked even after hard reset..

Thanks,
Edward.
Comment 4 Mike Qin 2008-09-27 12:25:43 UTC
Yes, this patch works for me.
Thanks for the patch!
Comment 5 SpanKY gentoo-dev 2008-10-26 07:16:12 UTC
if it works for you guys, that's fine by me ... ive added 1.0.6-r2 with it, thanks!

http://sources.gentoo.org/sys-fs/reiser4progs/files/reiser4progs-1.0.6-preen.patch?r1=1.1&r2=1.2
Comment 6 SpanKY gentoo-dev 2008-10-26 12:29:48 UTC
*** Bug 226463 has been marked as a duplicate of this bug. ***