public inbox for linux-btrfs@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] btrfs: allow creating inline data extents for sector size < page size case
@ 2024-11-15  6:03 Qu Wenruo
  2024-11-15  6:03 ` [PATCH 1/2] btrfs: fix the qgroup data free range for inline data extents Qu Wenruo
  2024-11-15  6:03 ` [PATCH 2/2] btrfs: allow inline data extents creation if sector size < page size Qu Wenruo
  0 siblings, 2 replies; 3+ messages in thread
From: Qu Wenruo @ 2024-11-15  6:03 UTC (permalink / raw)
  To: linux-btrfs

There are two features disabled when sector size < page size (subpage) is
allowed for btrfs:

- Inline data extent creation
- Sector perfect compressed write

Both share one critical technical problem, that inline or async
submission all unlock the whole page.

Thankfully the major technical blockage is already solved with the
recent sector perfect compressed write support for subpage cases.

So there is no need to disable inline data extent creation either.
Yes, there are cases we can mixing inline and regular data extents, but
that's also the case when page size == sector size, so it's not a show
stopper.

The first patch is to fix a harmless bug that is only affecting subpage
cases.
The second one enables the inline data extent creation for subpage
cases.

Qu Wenruo (2):
  btrfs: fix the qgroup data free range for inline data extents
  btrfs: allow inline data extents creation if sector size < page size

 fs/btrfs/inode.c | 15 +--------------
 1 file changed, 1 insertion(+), 14 deletions(-)

-- 
2.47.0


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

end of thread, other threads:[~2024-11-15  6:04 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-15  6:03 [PATCH 0/2] btrfs: allow creating inline data extents for sector size < page size case Qu Wenruo
2024-11-15  6:03 ` [PATCH 1/2] btrfs: fix the qgroup data free range for inline data extents Qu Wenruo
2024-11-15  6:03 ` [PATCH 2/2] btrfs: allow inline data extents creation if sector size < page size Qu Wenruo

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