linux-ext4.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] ext4: fix overhead calculation for noloaded journals
@ 2016-09-22  1:11 Eric Whitney
  0 siblings, 0 replies; only message in thread
From: Eric Whitney @ 2016-09-22  1:11 UTC (permalink / raw)
  To: linux-ext4; +Cc: tytso

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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2016-09-22  1:07 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-09-22  1:11 [PATCH 0/2] ext4: fix overhead calculation for noloaded journals Eric Whitney

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).