public inbox for linux-btrfs@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/4] btrfs: allow creating inline data extents for sector size < page size case
@ 2025-02-15  8:34 Qu Wenruo
  2025-02-15  8:34 ` [PATCH v2 1/4] btrfs: fix inline data extent reads which zero out the remaining part Qu Wenruo
                   ` (4 more replies)
  0 siblings, 5 replies; 12+ messages in thread
From: Qu Wenruo @ 2025-02-15  8:34 UTC (permalink / raw)
  To: linux-btrfs

[CHANGELOG]
v2:
- Add the previous inline read fix into the series
- Add a patch to remove the subpage experimental warning message
  The main reason for the warning is the lack of some features, but it's
  no longer the case.

For btrfs block size < page size (subpage), there used to a list of
features that are not supported:

- RAID56
  Added in v5.19

- Block perfect compressed write
  Added in v6.13, previously only page aligned range can go through
  compressed write path.

- Inline data extent creation

But now the only feature that is missing is only inline data extent
creation.

And all technical problems are solved in v6.13, it's time for us to
allow subpage btrfs to create inline data extents.

The first patch is to fix a bug that can only be triggered with recent
partial uptodate folio support.

The second patch fixes a minor issue for qgroup accounting for inlined
data extents.

The third path enables inline data extent creation for subpage btrfs.

And finally remove the experimental warning message for subpage btrfs.

Qu Wenruo (4):
  btrfs: fix inline data extent reads which zero out the remaining part
  btrfs: fix the qgroup data free range for inline data extents
  btrfs: allow inline data extents creation if sector size < page size
  btrfs: remove the subpage related warning message

 fs/btrfs/disk-io.c |  5 -----
 fs/btrfs/inode.c   | 30 ++++++++++--------------------
 2 files changed, 10 insertions(+), 25 deletions(-)

-- 
2.48.1


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

end of thread, other threads:[~2025-03-06  9:24 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-15  8:34 [PATCH v2 0/4] btrfs: allow creating inline data extents for sector size < page size case Qu Wenruo
2025-02-15  8:34 ` [PATCH v2 1/4] btrfs: fix inline data extent reads which zero out the remaining part Qu Wenruo
2025-02-21 12:32   ` Filipe Manana
2025-02-21 22:39     ` Qu Wenruo
2025-02-24 16:47       ` Filipe Manana
2025-02-27 14:36       ` Daniel Vacek
2025-02-27 23:39         ` Qu Wenruo
2025-03-06  9:24           ` David Sterba
2025-02-15  8:34 ` [PATCH v2 2/4] btrfs: fix the qgroup data free range for inline data extents Qu Wenruo
2025-02-15  8:34 ` [PATCH v2 3/4] btrfs: allow inline data extents creation if sector size < page size Qu Wenruo
2025-02-15  8:34 ` [PATCH v2 4/4] btrfs: remove the subpage related warning message Qu Wenruo
2025-02-15 14:42 ` [PATCH v2 0/4] btrfs: allow creating inline data extents for sector size < page size case Neal Gompa

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