Skip to content

xfs: rework quotaoff to avoid log deadlock

Brian Foster linux-xfs 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 6 repliesIn review
  2. v13 patches 6 repliesSuperseded

Changes in v2 from the cover letter

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3xfs: skip dquot reservations if quota is inactivefs/xfs/xfs_trans_dquot.c+9 -112 replies
2/3xfs: transaction subsystem quiesce mechanismfs/xfs/xfs_aops.c fs/xfs/xfs_mount.h fs/xfs/xfs_super.c +2 more+35 -24 replies
3/3xfs: rework quotaoff logging to avoid log deadlock on active fsfs/xfs/xfs_qm_syscalls.c fs/xfs/xfs_trans_dquot.c+67 -680 replies

Reviews trailers per patch

1 of 3 patches has a Reviewed-by or Acked-by.

PatchDarrick J. WongChristoph Hellwig
1/3R-b R-b R-b
2/3
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/3] xfs: rework quotaoff to avoid log deadlock

This series reworks the quotaoff algorithm to eliminate a log reservation deadlock vector. v2 is primarily a rebase/repost of v1.

Note that this conflicts with the recently posted append ioend cleanup, but this series is still based on for-next. I can post another rebased series if either of these progress.

Brian

v2:
- Rebased to for-next.
v1: https://lore.kernel.org/linux-xfs/[email protected]/

Brian Foster (3):
xfs: skip dquot reservations if quota is inactive
xfs: transaction subsystem quiesce mechanism
xfs: rework quotaoff logging to avoid log deadlock on active fs

 fs/xfs/xfs_aops.c        |   2 +
 fs/xfs/xfs_mount.h       |   3 +
 fs/xfs/xfs_qm_syscalls.c | 133 +++++++++++++++++++--------------------
 fs/xfs/xfs_super.c       |   8 +++
 fs/xfs/xfs_trans.c       |   4 +-
 fs/xfs/xfs_trans.h       |  20 ++++++
 fs/xfs/xfs_trans_dquot.c |  22 +++----
 7 files changed, 111 insertions(+), 81 deletions(-)
Signature · 1 line
2.26.3