Skip to content

btrfs: some refactor and cleanup for NOCOW write paths

[email protected] linux-btrfs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2btrfs: move common NOCOW checks against a file extent into a helperfs/btrfs/inode.c+216 -2120 replies
2/2btrfs: do not test for free space inode during NOCOW check against file extentfs/btrfs/inode.c+1 -10 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: some refactor and cleanup for NOCOW write paths

From: Filipe Manana <[email protected]>

This refactors some duplicated NOCOW checks into a single helper function, plus it removes some no longer needed logic. This came out some in progress work on the NOCOW paths, but has it's fairly indepedent of that work, it is being sent out in a separate patchset.

Filipe Manana (2):
btrfs: move common NOCOW checks against a file extent into a helper
btrfs: do not test for free space inode during NOCOW check against
file extent

 fs/btrfs/inode.c | 428 ++++++++++++++++++++++++-----------------------
 1 file changed, 216 insertions(+), 212 deletions(-)
Signature · 1 line
2.33.0