mbox series

[PATCHSET,v2,0/2] xfs: rename struct xfs_eofblocks

Message ID 162300206433.1202657.5753685964265403056.stgit@locust (mailing list archive)
Headers show
Series xfs: rename struct xfs_eofblocks | expand

Message

Darrick J. Wong June 6, 2021, 5:54 p.m. UTC
Hi all,

In the old days, struct xfs_eofblocks was an optional parameter to the
speculative post-EOF allocation garbage collector to narrow the scope of
a scan to files fitting specific criteria.  Nowadays it is used for all
other kinds of inode cache walks (reclaim, quotaoff, inactivation), so
the name is no longer fitting.  Change the flag namespace and rename the
structure to something more appropriate for what it does.

v2: separate the inode cache walk flag namespace from eofblocks

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=rename-eofblocks-5.14
---
 fs/xfs/xfs_file.c   |    8 +-
 fs/xfs/xfs_icache.c |  178 ++++++++++++++++++++++++++-------------------------
 fs/xfs/xfs_icache.h |   31 ++++++---
 fs/xfs/xfs_ioctl.c  |   41 +++++++-----
 fs/xfs/xfs_trace.h  |   36 +++++-----
 5 files changed, 160 insertions(+), 134 deletions(-)