lkml.org 
[lkml]   [2007]   [Jun]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[35/37] Large blocksize support in XFS
From: David Chinner <dgc@sgi.com>

The only thing that needs to change to enable Large Block I/O is to remove
the check for a too large blocksize ;-)

Signed-off-by: Dave Chinner <dgc@sgi.com>
Signed-off-by: Christoph Lameter <clameter@sgi.com>

---
fs/xfs/xfs_mount.c | 13 -------------
1 file changed, 13 deletions(-)

Index: linux-2.6.22-rc4-mm2/fs/xfs/xfs_mount.c
===================================================================
--- linux-2.6.22-rc4-mm2.orig/fs/xfs/xfs_mount.c 2007-06-18 19:05:21.000000000 -0700
+++ linux-2.6.22-rc4-mm2/fs/xfs/xfs_mount.c 2007-06-19 19:45:33.000000000 -0700
@@ -326,19 +326,6 @@ xfs_mount_validate_sb(
return XFS_ERROR(ENOSYS);
}

- /*
- * Until this is fixed only page-sized or smaller data blocks work.
- */
- if (unlikely(sbp->sb_blocksize > PAGE_SIZE)) {
- xfs_fs_mount_cmn_err(flags,
- "file system with blocksize %d bytes",
- sbp->sb_blocksize);
- xfs_fs_mount_cmn_err(flags,
- "only pagesize (%ld) or less will currently work.",
- PAGE_SIZE);
- return XFS_ERROR(ENOSYS);
- }
-
return 0;
}

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

\
 
 \ /
  Last update: 2007-06-20 20:43    [W:0.673 / U:0.040 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site