diff options
author | Badari Pulavarty <pbadari@us.ibm.com> | 2006-03-26 04:38:05 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-03-26 11:57:02 -0500 |
commit | a0e9285233a32edf267d27cd03fe0056951422cf (patch) | |
tree | bc8632552b1b91afa466b411992b0d85ec50d5a1 /fs | |
parent | f91a2ad2ed97099fb565e3336f8df0df717f2ba9 (diff) |
[PATCH] ext3: "nobh" writeback support for filesystems blocksize < pagesize
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>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/ext3/super.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/fs/ext3/super.c b/fs/ext3/super.c index 86e443182de4..f8a5266ea1ff 100644 --- a/fs/ext3/super.c +++ b/fs/ext3/super.c | |||
@@ -1678,12 +1678,6 @@ static int ext3_fill_super (struct super_block *sb, void *data, int silent) | |||
1678 | } | 1678 | } |
1679 | 1679 | ||
1680 | if (test_opt(sb, NOBH)) { | 1680 | if (test_opt(sb, NOBH)) { |
1681 | if (sb->s_blocksize_bits != PAGE_CACHE_SHIFT) { | ||
1682 | printk(KERN_WARNING "EXT3-fs: Ignoring nobh option " | ||
1683 | "since filesystem blocksize doesn't match " | ||
1684 | "pagesize\n"); | ||
1685 | clear_opt(sbi->s_mount_opt, NOBH); | ||
1686 | } | ||
1687 | if (!(test_opt(sb, DATA_FLAGS) == EXT3_MOUNT_WRITEBACK_DATA)) { | 1681 | if (!(test_opt(sb, DATA_FLAGS) == EXT3_MOUNT_WRITEBACK_DATA)) { |
1688 | printk(KERN_WARNING "EXT3-fs: Ignoring nobh option - " | 1682 | printk(KERN_WARNING "EXT3-fs: Ignoring nobh option - " |
1689 | "its supported only with writeback mode\n"); | 1683 | "its supported only with writeback mode\n"); |