Whamcloud - gitweb
misc: don't allow mk_hugefiles unless the fs supports extents
authorDarrick J. Wong <darrick.wong@oracle.com>
Sun, 14 Dec 2014 02:50:13 +0000 (21:50 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Sun, 14 Dec 2014 02:50:13 +0000 (21:50 -0500)
commitfc4f5b22409810d90446682552fc1704717f8c70
tree44055540b8cb5d2b2d7ff5ef017916b062ea179f
parentffe1b28dea615cf2abf3d9b7ff3f97048eb44c1b
misc: don't allow mk_hugefiles unless the fs supports extents

The current mk_hugefile code in mke2fs doesn't support creating
non-extent files, so disable the functionality when we're mkfs'ing
without extent support.

The fallocate patches further on will eliminate the need for this.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
misc/mk_hugefiles.c