Skip to content

btrfs: one fallocate fix and removing outdated code for fallocate and reflinks

[email protected] linux-btrfs 3 versions In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest7 patches 1 replyIn review
  2. v27 patches 2 repliesSuperseded
  3. v16 patches 0 repliesSuperseded

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7btrfs: only reserve the needed data space amount during fallocatefs/btrfs/file.c+37 -320 replies
2/7btrfs: remove useless dio wait call when doing fallocate zero rangefs/btrfs/file.c+0 -20 replies
3/7btrfs: remove inode_dio_wait() calls when starting reflink operationsfs/btrfs/reflink.c+0 -100 replies
4/7btrfs: remove ordered extent check and wait during fallocatefs/btrfs/file.c+8 -340 replies
5/7btrfs: lock the inode first before flushing range when punching holefs/btrfs/file.c+3 -20 replies
6/7btrfs: remove ordered extent check and wait during hole punching and zero rangefs/btrfs/file.c+18 -360 replies
7/7btrfs: add and use helper to assert an inode range is cleanfs/btrfs/ctree.h fs/btrfs/file.c fs/btrfs/inode.c +1 more+53 -20 replies

Reviews trailers per patch

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

Read the v3 thread

Cover letter [PATCH v3 0/7] btrfs: one fallocate fix and removing outdated code for fallocate and reflinks

From: Filipe Manana <[email protected]>

The first patch fixes a bug in fallocate (more details on its changelog), while the remaining just remove some code and logic that is no longer needed. The removals/clean ups are independent of the bug fix.

V3: Added missing inode unlock in error path (patch 5/7).
V2: Added one extra patch, 5/7, which was missing in v1. Fixed a typo
in the changelog of the first patch as well.

Filipe Manana (7):
btrfs: only reserve the needed data space amount during fallocate
btrfs: remove useless dio wait call when doing fallocate zero range
btrfs: remove inode_dio_wait() calls when starting reflink operations
btrfs: remove ordered extent check and wait during fallocate
btrfs: lock the inode first before flushing range when punching hole
btrfs: remove ordered extent check and wait during hole punching and
zero range
btrfs: add and use helper to assert an inode range is clean

 fs/btrfs/ctree.h   |   1 +
 fs/btrfs/file.c    | 174 ++++++++++++++++++---------------------------
 fs/btrfs/inode.c   |  37 ++++++++++
 fs/btrfs/reflink.c |  23 +++---
 4 files changed, 118 insertions(+), 117 deletions(-)
Signature · 1 line
2.33.0