Re: [PATCH] ext3,4:fdatasync should skip metadata writeout

2007-11-19 Thread Hisashi Hifumi
At 11:59 07/11/16, Andrew Morton wrote: > >I suppose so. Although one wonders what earthly point there is in syncing >a file's data if we haven't yet written out the metadata which is required >for locating that data. > >IOW, fdatasync() is only useful if the application knows that it is overwri

+ ext4-add-block-bitmap-validation.patch added to -mm tree

2007-11-19 Thread akpm
The patch titled ext4: add block bitmap validation has been added to the -mm tree. Its filename is ext4-add-block-bitmap-validation.patch *** Remember to use Documentation/SubmitChecklist when testing your code *** See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to

+ add-buffer-head-related-helper-functions.patch added to -mm tree

2007-11-19 Thread akpm
The patch titled Add buffer head related helper functions has been added to the -mm tree. Its filename is add-buffer-head-related-helper-functions.patch *** Remember to use Documentation/SubmitChecklist when testing your code *** See http://www.zip.com.au/~akpm/linux/patches/stuff/add

+ ext3-add-block-bitmap-validation.patch added to -mm tree

2007-11-19 Thread akpm
The patch titled ext3: add block bitmap validation has been added to the -mm tree. Its filename is ext3-add-block-bitmap-validation.patch *** Remember to use Documentation/SubmitChecklist when testing your code *** See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to

+ ext2-add-block-bitmap-validation.patch added to -mm tree

2007-11-19 Thread akpm
The patch titled ext2: add block bitmap validation has been added to the -mm tree. Its filename is ext2-add-block-bitmap-validation.patch *** Remember to use Documentation/SubmitChecklist when testing your code *** See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to

Re: [PATCH] ext4: dir inode reservation V3

2007-11-19 Thread Coly Li
Thanks for the feedback :-) Mingming Cao wrote: > On Tue, 2007-11-13 at 22:12 +0800, Coly Li wrote: >> Basic idea of my dir inode reservation patch can be found here, >> http://lists.openwall.net/linux-ext4/2007/11/05/3 >> >> 1, What does dir inode reservation do >> Dir inode reservation tries to

Re: e2fsprogs-interim scm tree?

2007-11-19 Thread Theodore Tso
On Tue, Nov 20, 2007 at 01:42:58AM +0100, Christian Kujau wrote: > Hi, > > I just started to use ext4 and wondered if there is some git/svn/hg/etc > repository for the e2fsprogs-interim? And, is there any timeframe when ext4 > support will make it into the mainline tree for e2fsprogs? Will > ther

Re: [PATCH] ext4: dir inode reservation V3

2007-11-19 Thread Mingming Cao
On Tue, 2007-11-13 at 22:12 +0800, Coly Li wrote: > Basic idea of my dir inode reservation patch can be found here, > http://lists.openwall.net/linux-ext4/2007/11/05/3 > > 1, What does dir inode reservation do > Dir inode reservation tries to reserve several inodes in inodes table for a > directo

e2fsprogs-interim scm tree?

2007-11-19 Thread Christian Kujau
Hi, I just started to use ext4 and wondered if there is some git/svn/hg/etc repository for the e2fsprogs-interim? And, is there any timeframe when ext4 support will make it into the mainline tree for e2fsprogs? Will there be a mkfs.ext4 too? Thanks, Christian. -- BOFH excuse #266: All of the

Re: [Take 2] ext2/3/4 block bitmap validation patches

2007-11-19 Thread Aneesh Kumar K.V
Aneesh Kumar K.V wrote: This is the updated ext2/3/4 block bitmap validation patches Changes from the last post a) moved the bh_uptodate_or_lock and bh_submit_read to fs/buffer.c and added EXPORT_SYMBOL b) Updated bh_submit_read not to release buffer on failure. This handles one referen

[PATCH] Add buffer head related helper functions

2007-11-19 Thread Aneesh Kumar K.V
Add buffer head related helper function bh_uptodate_or_lock and bh_submit_read which can be used by file system Signed-off-by: Aneesh Kumar K.V <[EMAIL PROTECTED]> --- fs/buffer.c | 41 + include/linux/buffer_head.h |2 ++ 2 files chan

[PATCH] ext4: add block bitmap validation

2007-11-19 Thread Aneesh Kumar K.V
When a new block bitmap is read from disk in read_block_bitmap() there are a few bits that should ALWAYS be set. In particular, the blocks given corresponding to block bitmap, inode bitmap and inode tables. Validate the block bitmap against these blocks. Signed-off-by: Aneesh Kumar K.V <[EMAIL PR

[PATCH] ext2: add block bitmap validation

2007-11-19 Thread Aneesh Kumar K.V
When a new block bitmap is read from disk in read_block_bitmap() there are a few bits that should ALWAYS be set. In particular, the blocks given corresponding to block bitmap, inode bitmap and inode tables. Validate the block bitmap against these blocks. Signed-off-by: Aneesh Kumar K.V <[EMAIL PR

[PATCH] ext3: add block bitmap validation

2007-11-19 Thread Aneesh Kumar K.V
When a new block bitmap is read from disk in read_block_bitmap() there are a few bits that should ALWAYS be set. In particular, the blocks given corresponding to block bitmap, inode bitmap and inode tables. Validate the block bitmap against these blocks. Signed-off-by: Aneesh Kumar K.V <[EMAIL PR

[Take 2] ext2/3/4 block bitmap validation patches

2007-11-19 Thread Aneesh Kumar K.V
This is the updated ext2/3/4 block bitmap validation patches Changes from the last post a) moved the bh_uptodate_or_lock and bh_submit_read to fs/buffer.c and added EXPORT_SYMBOL b) Updated bh_submit_read not to release buffer on failure. This handles one reference handling bug in the e