Skip to content

btrfs: allow creating inline data extents for sector size < page size case

Qu Wenruo linux-btrfs 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2btrfs: fix the qgroup data free range for inline data extentsfs/btrfs/inode.c+1 -10 replies
2/2btrfs: allow inline data extents creation if sector size < page sizefs/btrfs/inode.c+0 -130 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] btrfs: allow creating inline data extents for sector size < page size case

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(-)
Signature · 1 line
2.47.0