From: Brian Foster <bfoster@redhat.com>
To: linux-xfs@vger.kernel.org
Subject: [PATCH v2 0/4] buffered write and indlen fixes
Date: Thu, 9 Feb 2017 14:34:49 -0500 [thread overview]
Message-ID: <1486668893-44633-1-git-send-email-bfoster@redhat.com> (raw)
Hi all,
This is v2 of the indlen split fixup series. The indlen patches are
mostly the same except for changes to use do_div() rather than built-in
division, which causes problems on 32-bit arches.
Patches 1-2 are new and facilitate testing. Patch 1 fixes a couple
issues in buffered write failure handling that I ran into. Patch 2
reintroduces the "fail writes" mechanism as a "drop writes" mechanism to
re-enable the ability to test the indlen code from userspace. I will
follow up with xfstests patches shortly that use this mechanism to
reproduce both issues fixed by patches 3 and 4. Thoughts, reviews,
flames appreciated.
Brian
v2:
- Use do_div() to fix 32-bit builds.
- Prepend patches 1-2 to re-enable indlen testing from xfstests.
v1: http://www.spinics.net/lists/linux-xfs/msg04083.html
Brian Foster (4):
xfs: clear delalloc and cache on buffered write failure
xfs: resurrect debug mode drop buffered writes mechanism
xfs: handle indlen shortage on delalloc extent merge
xfs: split indlen reservations fairly when under reserved
fs/xfs/libxfs/xfs_bmap.c | 70 +++++++++++++++++++++++++++++++++---------------
fs/xfs/xfs_iomap.c | 9 +++++++
fs/xfs/xfs_mount.h | 15 ++++++-----
fs/xfs/xfs_sysfs.c | 14 +++++-----
4 files changed, 73 insertions(+), 35 deletions(-)
--
2.7.4
next reply other threads:[~2017-02-09 19:36 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-02-09 19:34 Brian Foster [this message]
2017-02-09 19:34 ` [PATCH 1/4] xfs: clear delalloc and cache on buffered write failure Brian Foster
2017-02-09 19:34 ` [PATCH 2/4] xfs: resurrect debug mode drop buffered writes mechanism Brian Foster
2017-02-09 19:34 ` [PATCH 3/4] xfs: handle indlen shortage on delalloc extent merge Brian Foster
2017-02-09 19:34 ` [PATCH 4/4] xfs: split indlen reservations fairly when under reserved Brian Foster
2017-02-09 20:45 ` Darrick J. Wong
2017-02-14 8:12 ` Eryu Guan
2017-02-14 12:56 ` Brian Foster
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=1486668893-44633-1-git-send-email-bfoster@redhat.com \
--to=bfoster@redhat.com \
--cc=linux-xfs@vger.kernel.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.