public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCHSET v29.4 02/13] xfs: refactorings for atomic file content exchanges
@ 2024-02-27  2:17 Darrick J. Wong
  2024-02-27  2:19 ` [PATCH 1/6] xfs: move inode lease breaking functions to xfs_inode.c Darrick J. Wong
                   ` (5 more replies)
  0 siblings, 6 replies; 16+ messages in thread
From: Darrick J. Wong @ 2024-02-27  2:17 UTC (permalink / raw)
  To: djwong; +Cc: linux-xfs, hch

Hi all,

This series applies various cleanups and refactorings to file IO
handling code ahead of the main series to implement atomic file content
exchanges.

If you're going to start using this code, I strongly recommend pulling
from my git trees, which are linked below.

This has been running on the djcloud for months with no problems.  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=file-exchange-refactorings
---
Commits in this patchset:
 * xfs: move inode lease breaking functions to xfs_inode.c
 * xfs: move xfs_iops.c declarations out of xfs_inode.h
 * xfs: declare xfs_file.c symbols in xfs_file.h
 * xfs: create a new helper to return a file's allocation unit
 * xfs: hoist multi-fsb allocation unit detection to a helper
 * xfs: refactor non-power-of-two alignment checks
---
 fs/xfs/xfs_bmap_util.c |    4 +-
 fs/xfs/xfs_file.c      |   88 ++++--------------------------------------------
 fs/xfs/xfs_file.h      |   15 ++++++++
 fs/xfs/xfs_inode.c     |   75 +++++++++++++++++++++++++++++++++++++++++
 fs/xfs/xfs_inode.h     |   12 +++----
 fs/xfs/xfs_ioctl.c     |    1 +
 fs/xfs/xfs_iops.c      |    1 +
 fs/xfs/xfs_iops.h      |    7 ++--
 fs/xfs/xfs_linux.h     |    5 +++
 9 files changed, 116 insertions(+), 92 deletions(-)
 create mode 100644 fs/xfs/xfs_file.h


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

end of thread, other threads:[~2024-02-28 18:41 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-27  2:17 [PATCHSET v29.4 02/13] xfs: refactorings for atomic file content exchanges Darrick J. Wong
2024-02-27  2:19 ` [PATCH 1/6] xfs: move inode lease breaking functions to xfs_inode.c Darrick J. Wong
2024-02-27 15:49   ` Christoph Hellwig
2024-02-27  2:19 ` [PATCH 2/6] xfs: move xfs_iops.c declarations out of xfs_inode.h Darrick J. Wong
2024-02-27 15:49   ` Christoph Hellwig
2024-02-27  2:20 ` [PATCH 3/6] xfs: declare xfs_file.c symbols in xfs_file.h Darrick J. Wong
2024-02-27 15:50   ` Christoph Hellwig
2024-02-27  2:20 ` [PATCH 4/6] xfs: create a new helper to return a file's allocation unit Darrick J. Wong
2024-02-27 15:50   ` Christoph Hellwig
2024-02-28 18:41     ` Darrick J. Wong
2024-02-27  2:20 ` [PATCH 5/6] xfs: hoist multi-fsb allocation unit detection to a helper Darrick J. Wong
2024-02-27 15:51   ` Christoph Hellwig
2024-02-27 16:10     ` Darrick J. Wong
2024-02-27 16:57       ` Christoph Hellwig
2024-02-27  2:20 ` [PATCH 6/6] xfs: refactor non-power-of-two alignment checks Darrick J. Wong
2024-02-27 15:51   ` Christoph Hellwig

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