[PATCH 0/2] ext4: fix overhead calculation for noloaded journals

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--
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



[Index of Archives]     [Reiser Filesystem Development]     [Ceph FS]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite National Park]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]     [Linux Media]

  Powered by Linux