[35/36] Large blocksize support for ext2

clameter
2007-08-28T19:13:51Z

[-- Attachment #1: 0035-Large-blocksize-support-for-ext2.patch --]
[-- Type: text/plain, Size: 1072 bytes --]

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@sgi.com>
---
fs/ext2/inode.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/fs/ext2/inode.c b/fs/ext2/inode.c
index 0079b2c..5ff775a 100644
--- a/fs/ext2/inode.c
+++ b/fs/ext2/inode.c
@@ -20,6 +20,9 @@
* (jj@sunsite.ms.mff.cuni.cz)
*
* 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>
--
1.5.2.4

--