Re: [Ext2-devel] [RFC] [PATCH] Reducing average ext2 fsck time through fs-wide dirty bit]



On Tue, 2006-03-21 at 17:10 -0800, Valerie Henson wrote:
Hi all,

I am working on reducing the average time spent on fscking ext2 file
systems. My initial take on the problem is to avoid fscking when the
file system is not being modified. If we're not actively modifying
the file system when we crash, it seems intuitive that we could avoid
fsck on next mount. The obvious way to implement this is to add a
clean/dirty bit to the superblock, check every so often to see if the
file system is not being written, sync out all outstanding writes, and
mark the file system clean. On boot, fsck should check for the clean
bit and mark the file system as valid, thereby avoiding a full fsck.
I call this the fs-wide dirty bit solution.
..

Just curious, why are you teaching ext2 same tricks that are in ext3 ?
Is there a reason behind improving ext2 ? Are there any benefits
of not using ext3 instead ?

Thanks,
Badari

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



Relevant Pages

  • Re: wifi usb adaptor
    ... networking, and external backup drives, and so on). ... I'd love to use EXT3 but the IFS driver only supports the basic EXT2 FS. ... event fscks the file system into doing its disappearing act. ... FSCK utility rather than buy one that needs a 7 hour scan followed by ...
    (uk.comp.homebuilt)
  • Re: [patch] ext2/3: document conditions when reliable operation is possible
    ... your ipod) all teach you not to hot unplug a device with any file system. ... Including specifically ext2. ... You can object any way you want, but running ext3 on flash or MD RAID5 ... ext2 would provide better protection against powerfail. ...
    (Linux-Kernel)
  • Re: [Ext2-devel] [RFC] [PATCH] Reducing average ext2 fsck time through fs-wide dirty bit]
    ... I am working on reducing the average time spent on fscking ext2 file ... file system is not being modified. ... To solve the orphan inode problem, ... porting ext3 reservation change to ext2 is doable. ...
    (Linux-Kernel)
  • Re: Problems with Ext2fs on a CF card.
    ... I use a Compact Flash card to hold an ext2 Linux File System ... to make the kind of file system you want on each partition e.g. ... If you can't fdisk it then something is up. ...
    (comp.os.linux.embedded)
  • Re: e2fsck problems :o
    ... a flash card. ... embedded device, booted up, ran 'e2fsck -n /dev/hda2' but this time i'm ... The ext2 file system suffered from some serious bugs. ...
    (alt.os.linux)