From: Brian Foster <bfoster@redhat.com>
To: linux-xfs@vger.kernel.org
Subject: [PATCH v5 0/3] xfs: set aside allocation btree blocks from block reservation
Date: Wed, 28 Apr 2021 12:57:07 -0400 [thread overview]
Message-ID: <20210428165710.385872-1-bfoster@redhat.com> (raw)
v5:
- Tweak allocbt counter init logic to filter out rmapbt root block.
v4: https://lore.kernel.org/linux-xfs/20210423131050.141140-1-bfoster@redhat.com/
- Fix up perag res logic to not skip pagf init on partial res failure.
- Split up set aside patch into separate counter mechanism and set aside
policy patches.
- Drop unnecessary ->m_has_agresv flag as pagf's are always initialized
on filesystems with active reservations.
v3: https://lore.kernel.org/linux-xfs/20210318161707.723742-1-bfoster@redhat.com/
- Use a mount flag for easy detection of active perag reservation.
- Filter rmapbt blocks from allocbt block accounting.
v2: https://lore.kernel.org/linux-xfs/20210222152108.896178-1-bfoster@redhat.com/
- Use an atomic counter instead of a percpu counter.
v1: https://lore.kernel.org/linux-xfs/20210217132339.651020-1-bfoster@redhat.com/
Brian Foster (3):
xfs: unconditionally read all AGFs on mounts with perag reservation
xfs: introduce in-core global counter of allocbt blocks
xfs: set aside allocation btree blocks from block reservation
fs/xfs/libxfs/xfs_ag_resv.c | 34 ++++++++++++++++++++++-----------
fs/xfs/libxfs/xfs_alloc.c | 14 ++++++++++++++
fs/xfs/libxfs/xfs_alloc_btree.c | 2 ++
fs/xfs/xfs_mount.c | 15 ++++++++++++++-
fs/xfs/xfs_mount.h | 6 ++++++
5 files changed, 59 insertions(+), 12 deletions(-)
--
2.26.3
next reply other threads:[~2021-04-28 16:57 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-04-28 16:57 Brian Foster [this message]
2021-04-28 16:57 ` [PATCH v5 1/3] xfs: unconditionally read all AGFs on mounts with perag reservation Brian Foster
2021-04-28 16:57 ` [PATCH v5 2/3] xfs: introduce in-core global counter of allocbt blocks Brian Foster
2021-04-28 23:04 ` Darrick J. Wong
2021-04-28 16:57 ` [PATCH v5 3/3] xfs: set aside allocation btree blocks from block reservation 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=20210428165710.385872-1-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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox