From: Eric Whitney <enwlinux@gmail.com>
To: linux-ext4@vger.kernel.org
Cc: tytso@mit.edu
Subject: [PATCH 0/2] ext4: fix overhead calculation for noloaded journals
Date: Wed, 21 Sep 2016 21:11:32 -0400 [thread overview]
Message-ID: <20160922011132.GA27216@localhost.localdomain> (raw)
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
reply other threads:[~2016-09-22 1:07 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20160922011132.GA27216@localhost.localdomain \
--to=enwlinux@gmail.com \
--cc=linux-ext4@vger.kernel.org \
--cc=tytso@mit.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).