[36/37] Large blocksize support for ext2

From: clameter
Date: Wed Jun 20 2007 - 14:38:30 EST


This adds support for a block size of up to 64k on any platform.
It enables the mounting filesystems that have a larger blocksize
than the page size.

F.e. the following is possible on x86_64 and i386 that have only a 4k page
size.

mke2fs -b 16384 /dev/hdd2 <Ignore warning about too large block size>

mount /dev/hdd2 /media
ls -l /media

.... Do more things with the volume that uses a 16k page cache size on
a 4k page sized platform..

Hmmm... Actually there is nothing additional to be done after the earlier
cleanup of the macros. So just modify copyright.

Signed-off-by: Christoph Lameter <clameter@xxxxxxx>

---
fs/ext2/inode.c | 3 +++
1 file changed, 3 insertions(+)


Index: linux-2.6.22-rc4-mm2/fs/ext2/inode.c
===================================================================
--- linux-2.6.22-rc4-mm2.orig/fs/ext2/inode.c 2007-06-19 19:40:56.000000000 -0700
+++ linux-2.6.22-rc4-mm2/fs/ext2/inode.c 2007-06-19 19:41:56.000000000 -0700
@@ -20,6 +20,9 @@
* (jj@xxxxxxxxxxxxxxxxxxxxxx)
*
* Assorted race fixes, rewrite of ext2_get_block() by Al Viro, 2000
+ *
+ * (C) 2007 SGI.
+ * Large blocksize support by Christoph Lameter
*/

#include <linux/smp_lock.h>

--
-
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/