btrfs: fix enospc and transaction aborts during fallocate
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest5 patches 6 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | btrfs: fix metadata reservation for fallocate that leads to transaction abortsfs/ fs/ fs/ +1 more | +91 | 1 reply | |
| 2/5 | btrfs: remove item_size member of struct btrfs_clone_extent_infofs/ fs/ fs/ +1 more | +4 | 1 reply | |
| 3/5 | btrfs: rename struct btrfs_clone_extent_info to a more generic namefs/ fs/ fs/ +1 more | +54 | 1 reply | |
| 4/5 | btrfs: rename btrfs_punch_hole_range() to a more generic namefs/ fs/ fs/ +1 more | +6 | 1 reply | |
| 5/5 | btrfs: rename btrfs_insert_clone_extent() to a more generic namefs/ | +3 | 1 reply |
Reviews trailers per patch
All 5 patches have a Reviewed-by or Acked-by.
| Patch | Josef Bacik |
|---|---|
| 1/5 | R-b |
| 2/5 | R-b |
| 3/5 | R-b |
| 4/5 | R-b |
| 5/5 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/5] btrfs: fix enospc and transaction aborts during fallocate
From: Filipe Manana <[email protected]>
When attempting to fallocate on a large file range with many file extent items, the operation can fail with ENOSPC when it shouldn't and, more critical, abort the transaction and turn the filesystem to RO mode.
First patch fixes the issue, the remaining just do some cleanups after it.
Filipe Manana (5):
btrfs: fix metadata reservation for fallocate that leads to
transaction aborts
btrfs: remove item_size member of struct btrfs_clone_extent_info
btrfs: rename struct btrfs_clone_extent_info to a more generic name
btrfs: rename btrfs_punch_hole_range() to a more generic name
btrfs: rename btrfs_insert_clone_extent() to a more generic name
fs/btrfs/ctree.h | 28 +++++++++-- fs/btrfs/file.c | 119 ++++++++++++++++++++++++++------------------- fs/btrfs/inode.c | 67 ++++++++++++++++--------- fs/btrfs/reflink.c | 8 +-- 4 files changed, 142 insertions(+), 80 deletions(-)
Signature · 1 line
2.26.2