]> www.infradead.org Git - users/hch/xfs.git/commit
xfs: support write stream separation xfs-zoned-streams
authorChristoph Hellwig <hch@lst.de>
Fri, 1 Nov 2024 04:51:08 +0000 (05:51 +0100)
committerChristoph Hellwig <hch@lst.de>
Tue, 5 Nov 2024 15:35:39 +0000 (16:35 +0100)
commita1e1cce6a19aa017c7dd40925628b520af3dfcd0
treef17b8a77211f8dbe6c9ed63a0911d25b7fdb2459
parentbd81c0e8e6a83197a87f65c1ba943c1e083b8627
xfs: support write stream separation

Allow picking a write stream ID per "active zone" equivalent on
conventional devices.  The only complicated part is stealing yet
another time stamp on the rmap inode to store the write stream
ID so we can restart after a remount without de-synchronizing the
software write pointer and the hardware equivalent.  Due to the
lack of a block layer API to query or resync our write pointer
this still can happen on power fail or a kernel crash
unfortunately.

Signed-off-by: Christoph Hellwig <hch@lst.de>
fs/xfs/libxfs/xfs_rtgroup.h
fs/xfs/xfs_mount.h
fs/xfs/xfs_zone_alloc.c
fs/xfs/xfs_zone_gc.c