When calculating file system overhead, ext4 does not account for the
size of a file system's internal journal when it is present on the
storage device but not loaded in memory (noload option used when the
file system is mounted).
This bug can be reproduced on a 4.8-rc7 kernel by running xfstest
shared/289 with the 5 Sep 2016 version of the xfstest-bld test
appliance in the nojournal test configuration.
Eric Whitney (2):
ext4: create function to read journal inode
ext4: use journal inode to determine journal overhead
fs/ext4/super.c | 51 ++++++++++++++++++++++++++++++++++++++++-----------
1 file changed, 40 insertions(+), 11 deletions(-)
--
2.1.4