mbox series

[v2,0/9] xfs: rework log quiesce to cover the log

Message ID 20210121154526.1852176-1-bfoster@redhat.com (mailing list archive)
Headers show
Series xfs: rework log quiesce to cover the log | expand


Brian Foster Jan. 21, 2021, 3:45 p.m. UTC
Hi all,

Here's a v2 of the log quiesce rework to introduce and reuse log
covering. This only has a couple minor tweaks from v1. Note again that
patch 1 is an isolated bug fix related to the lazy sb accounting bug
generic/388 was recently enhanced to reproduce. 


- Return bool from xfs_log_need_covered().
- Reword patch 1 commit log.
- Apply review tags.
v1: https://lore.kernel.org/linux-xfs/20210106174127.805660-1-bfoster@redhat.com/

Brian Foster (9):
  xfs: sync lazy sb accounting on quiesce of read-only mounts
  xfs: lift writable fs check up into log worker task
  xfs: separate log cleaning from log quiesce
  xfs: cover the log during log quiesce
  xfs: don't reset log idle state on covering checkpoints
  xfs: fold sbcount quiesce logging into log covering
  xfs: remove duplicate wq cancel and log force from attr quiesce
  xfs: remove xfs_quiesce_attr()
  xfs: cover the log on freeze instead of cleaning it

 fs/xfs/xfs_log.c   | 128 ++++++++++++++++++++++++++++++++++++---------
 fs/xfs/xfs_log.h   |   4 +-
 fs/xfs/xfs_mount.c |  34 +-----------
 fs/xfs/xfs_mount.h |   1 -
 fs/xfs/xfs_super.c |  38 +-------------
 5 files changed, 109 insertions(+), 96 deletions(-)