[PATCHSET v2 0/5] xfs: last pile of LARP cleanups for 5.19

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all,

This final series contains a two key cleanups for the new LARP code.
Most of it is refactoring and tweaking the code that creates kernel log
messages about enabling and disabling features -- we should be warning
about LARP being turned on once per day, instead of once per insmod
cycle; we shouldn't be spamming the logs so aggressively about turning
*off* log incompat features.

The second part of the series refactors the LARP code responsible for
getting (and releasing) permission to use xattr log items.  The
implementation code doesn't belong in xfs_log.c, and calls to logging
functions don't belong in libxfs -- they really should be done by the
VFS implementation functions before they start calling into libraries.

v2: use OPSTATE flags so that we warn about scrub/larp/shrink on a
    per-mount basis, and reorganize the log assist rework based on
    feedback

If you're going to start using this mess, you probably ought to just
pull from my git trees, which are linked below.

This is an extraordinary way to destroy everything.  Enjoy!
Comments and questions are, as always, welcome.

--D

kernel git tree:
https://git.kernel.org/cgit/linux/kernel/git/djwong/xfs-linux.git/log/?h=larp-cleanups-5.19
---
 fs/xfs/libxfs/xfs_attr.c |   14 +-------
 fs/xfs/scrub/scrub.c     |   17 +---------
 fs/xfs/xfs_acl.c         |    3 +-
 fs/xfs/xfs_fsops.c       |    7 +---
 fs/xfs/xfs_ioctl.c       |    3 +-
 fs/xfs/xfs_iops.c        |    3 +-
 fs/xfs/xfs_log.c         |   41 ------------------------
 fs/xfs/xfs_message.h     |    6 +++
 fs/xfs/xfs_mount.c       |    1 -
 fs/xfs/xfs_mount.h       |   18 ++++++++++
 fs/xfs/xfs_super.c       |    1 +
 fs/xfs/xfs_super.h       |    1 -
 fs/xfs/xfs_xattr.c       |   79 +++++++++++++++++++++++++++++++++++++++++++++-
 fs/xfs/xfs_xattr.h       |   13 ++++++++
 14 files changed, 126 insertions(+), 81 deletions(-)
 create mode 100644 fs/xfs/xfs_xattr.h




[Index of Archives]     [XFS Filesystem Development (older mail)]     [Linux Filesystem Development]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux RAID]     [Linux SCSI]


  Powered by Linux