mbox series

[v2,0/3] xfs: rework quotaoff to avoid log deadlock

Message ID 20210406144238.814558-1-bfoster@redhat.com (mailing list archive)
Headers show
Series xfs: rework quotaoff to avoid log deadlock | expand

Message

Brian Foster April 6, 2021, 2:42 p.m. UTC
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/20201001150310.141467-1-bfoster@redhat.com/

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(-)