Linux Btrfs filesystem development
 help / color / mirror / Atom feed
* [PATCH RFC 0/1] btrfs: don't allocate data off of conventional zones
@ 2026-01-16  9:57 Johannes Thumshirn
  2026-01-16  9:57 ` [PATCH RFC 1/1] btrfs: zoned: only allocate data off of sequential zones Johannes Thumshirn
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: Johannes Thumshirn @ 2026-01-16  9:57 UTC (permalink / raw)
  To: linux-btrfs
  Cc: Christoph Hellwig, Damien Le Moal, Naohiro Aota, Hans Holmberg,
	David Sterba, Qu Wenruo, Johannes Thumshirn

On a zoned filesystem allocate data block-groups only off of the
sequential zones of a device.

Doing so will free up the conventional zones for the system and metadata
block-groups, eventually removing the need for using the zoned allocator
and all it's required infrastructure, that needs to be emulated, for
conventional zones.

TODO: If the device does not have any sequential zones left, but
conventional, allocate the data block-group from the conventional zone,
or just ENOSPC?

Note: This patchset also is only mildly tested. Several fsx runs for
stressing and file I/O for functional testing, no full fstests run yet.

Johannes Thumshirn (3):
  btrfs: zoned: only allocate data off of sequential zones
  btrfs-progs: collapse find_free_dev_extent into
    find_free_dev_extent_start
  btrfs-progs: zoned: only allocate data off of sequential zones


 fs/btrfs/volumes.c | 30 +++++++++++++++++++-----------
 1 file changed, 19 insertions(+), 11 deletions(-)

-- 
2.52.0


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

end of thread, other threads:[~2026-01-19  6:51 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-01-16  9:57 [PATCH RFC 0/1] btrfs: don't allocate data off of conventional zones Johannes Thumshirn
2026-01-16  9:57 ` [PATCH RFC 1/1] btrfs: zoned: only allocate data off of sequential zones Johannes Thumshirn
2026-01-16  9:57 ` [PATCH RFC 1/2] btrfs-progs: collapse find_free_dev_extent into find_free_dev_extent_start Johannes Thumshirn
2026-01-16  9:57 ` [PATCH RFC 2/2] btrfs-progs: zoned: only allocate data off of sequential zones Johannes Thumshirn
2026-01-16 14:54 ` [PATCH RFC 0/1] btrfs: don't allocate data off of conventional zones Christoph Hellwig
2026-01-16 18:46   ` Johannes Thumshirn
2026-01-17  9:46     ` Johannes Thumshirn
2026-01-19  6:48       ` hch
2026-01-19  6:50     ` hch

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