public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
* [RFC v4 0/2] xfs: automatic relogging experiment
@ 2019-12-05 17:50 Brian Foster
  2019-12-05 17:50 ` [RFC v4 1/2] xfs: automatic log item relog mechanism Brian Foster
  2019-12-05 17:50 ` [RFC v4 2/2] xfs: automatically relog the quotaoff start intent Brian Foster
  0 siblings, 2 replies; 5+ messages in thread
From: Brian Foster @ 2019-12-05 17:50 UTC (permalink / raw)
  To: linux-xfs

Hi all,

Here's a v4 RFC for automatic relogging and probably the closest one IMO
to a non-RFC worthy implementation. There's still a few kinks, but this
might be the right combination of simplicity, effectiveness and
flexibility for future enhancement. Patch 1 adds the mechanism and patch
2 uses it for the quotaoff start intent. See the commit logs for further
details. 

Thoughts, reviews, flames appreciated.

Brian

rfcv4:
- AIL based approach.
rfcv3: https://lore.kernel.org/linux-xfs/20191125185523.47556-1-bfoster@redhat.com/
- CIL based approach.
rfcv2: https://lore.kernel.org/linux-xfs/20191122181927.32870-1-bfoster@redhat.com/
- Different approach based on workqueue and transaction rolling.
rfc: https://lore.kernel.org/linux-xfs/20191024172850.7698-1-bfoster@redhat.com/

Brian Foster (2):
  xfs: automatic log item relog mechanism
  xfs: automatically relog the quotaoff start intent

 fs/xfs/xfs_dquot_item.c  |  7 +++++
 fs/xfs/xfs_qm_syscalls.c |  9 +++++++
 fs/xfs/xfs_trace.h       |  1 +
 fs/xfs/xfs_trans.c       | 30 +++++++++++++++++++++
 fs/xfs/xfs_trans.h       |  7 ++++-
 fs/xfs/xfs_trans_ail.c   | 56 ++++++++++++++++++++++++++++++++++++++--
 fs/xfs/xfs_trans_priv.h  |  5 ++++
 7 files changed, 112 insertions(+), 3 deletions(-)

-- 
2.20.1


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2019-12-06 14:57 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-12-05 17:50 [RFC v4 0/2] xfs: automatic relogging experiment Brian Foster
2019-12-05 17:50 ` [RFC v4 1/2] xfs: automatic log item relog mechanism Brian Foster
2019-12-05 21:02   ` Dave Chinner
2019-12-06 14:56     ` Brian Foster
2019-12-05 17:50 ` [RFC v4 2/2] xfs: automatically relog the quotaoff start intent Brian Foster

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox