Skip to content

Commit

Permalink
[PATCH] ext3: "nobh" writeback support for filesystems blocksize < pa…
Browse files Browse the repository at this point in the history
…gesize

There is no valid reason why we can't support "nobh" option for filesystems
with blocksize != PAGESIZE.

This patch lets them use "nobh" option for writeback mode for blocksize <
pagesize.

Signed-off-by: Badari Pulavarty <pbadari@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  • Loading branch information
Badari Pulavarty authored and Linus Torvalds committed Mar 26, 2006
1 parent f91a2ad commit a0e9285
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions fs/ext3/super.c
Original file line number Diff line number Diff line change
Expand Up @@ -1678,12 +1678,6 @@ static int ext3_fill_super (struct super_block *sb, void *data, int silent)
}

if (test_opt(sb, NOBH)) {
if (sb->s_blocksize_bits != PAGE_CACHE_SHIFT) {
printk(KERN_WARNING "EXT3-fs: Ignoring nobh option "
"since filesystem blocksize doesn't match "
"pagesize\n");
clear_opt(sbi->s_mount_opt, NOBH);
}
if (!(test_opt(sb, DATA_FLAGS) == EXT3_MOUNT_WRITEBACK_DATA)) {
printk(KERN_WARNING "EXT3-fs: Ignoring nobh option - "
"its supported only with writeback mode\n");
Expand Down

0 comments on commit a0e9285

Please sign in to comment.