]> git.baikalelectronics.ru Git - kernel.git/commit
ext4: Support large files
authorAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Tue, 29 Jan 2008 04:58:27 +0000 (23:58 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Tue, 29 Jan 2008 04:58:27 +0000 (23:58 -0500)
commit29e4f1b8c4b9140f6704523e152a4f4ff6889cb4
tree1b3a3261f72f8245afdd87088703641c76f60392
parentb9f0f6a4298f692a5ea265d3946480e5ed4b1044
ext4: Support large files

This patch converts ext4_inode i_blocks to represent total
blocks occupied by the inode in file system block size.
Earlier the variable used to represent this in 512 byte
block size. This actually limited the total size of the file.

The feature is enabled transparently when we write an inode
whose i_blocks cannot be represnted as 512 byte units in a
48 bit variable.

inode flag  EXT4_HUGE_FILE_FL

Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
fs/ext4/inode.c
fs/ext4/super.c
include/linux/ext4_fs.h