On Fri, Jun 05, 2009 at 03:20:00PM -0600, Andreas Dilger wrote: > There are a number of other places where there are limits related > to > 64kB blocksize like ext4_dir_entry_2 itself having only a > "__u16 rec_len", so without changing the on-disk format it is not > possible to have > 64kB blocksize. That situation we have dealt with already, at least in the kernel: unsigned int ext4_rec_len_from_disk(__le16 dlen, unsigned blocksize) { unsigned len = le16_to_cpu(dlen); if (len == EXT4_MAX_REC_LEN || len == 0) return blocksize; return (len & 65532) | ((len & 3) << 16); } We do *not* have support in e2fsprogs using this this algorithm, so there are some bugs to be fixed, though. But the kernel at least theoretically handles this case correctly. That's not to say there might not be other places where this is buggy, but fundamentally it's not impossible for us to support block sizes up to 256k, at least from an on-disk filesystem format perspective. - Ted -- To unsubscribe from this list: send the line "unsubscribe linux-ext4" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html