btrfs: Fix no_space on dd and rm loop
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest9 patches 6 repliesIn review
- v19 patches 1 replySuperseded
Changes in v2 from the cover letter
1: Rebased on top of v4.0-rc7
2: Fixed a lock problem reported by:
'Tsutomu Itoh' <[email protected]>
3: Add Reviewed-by: Liu Bo <[email protected]>
to [PATCH 2/9] btrfs:
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/9 | btrfs: fix condition of commit transactionfs/ | +13 | 0 replies | |
| 2/9 | btrfs: Fix tail space processing in find_free_dev_extent()fs/ | +13 | 0 replies | |
| 3/9 | btrfs: Adjust commit-transaction condition to avoid NO_SPACE morefs/ | +2 | 0 replies | |
| 4/9 | btrfs: Set relative data on clear btrfs_block_group_cache->pinnedfs/ | +10 | 0 replies | |
| 5/9 | btrfs: add WARN_ON() to check is space_info op currentfs/ | +10 | 0 replies | |
| 6/9 | btrfs: Fix NO_SPACE bug caused by delayed-iputfs/ fs/ fs/ +1 more | +13 | 4 replies | |
| 7/9 | btrfs: Support busy loop of write and deletefs/ | +13 | 0 replies | |
| 8/9 | btrfs: wait for delayed iputs on no spacefs/ | +3 | 2 replies | |
| 9/9 | btrfs: cleanup unused alloc_chunk variblefs/ | +2 | 0 replies |
Reviews trailers per patch
1 of 9 patches has a Reviewed-by or Acked-by.
| Patch | Liu Bo |
|---|---|
| 1/9 | |
| 2/9 | R-b |
| 3/9 | |
| 4/9 | |
| 5/9 | |
| 6/9 | |
| 7/9 | |
| 8/9 | |
| 9/9 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 0/9] btrfs: Fix no_space on dd and rm loop
From: Zhao Lei <[email protected]>
This is v2 of resend-fix-no-space.
Most of them are send in single patch, I resend them in patchset to make it easy to access.
Notice that "Btrfs: fix find_free_dev_extent() malfunction in case device tree has hole" from Forrest Liu in:
https://patchwork.kernel.org/patch/5800231/
is also need to fix all known no_space bug.
Changelog v1->v2:
1: Rebased on top of v4.0-rc7
2: Fixed a lock problem reported by:
'Tsutomu Itoh' <[email protected]>
3: Add Reviewed-by: Liu Bo <[email protected]>
to [PATCH 2/9] btrfs:
Tested by busy dd and rm loop script in 2000 times. I'll add xfstests for this case later.
This is available at fix_no_space branch on my tree:
git://github.com/zhaoleidd/btrfs.git
It is also included in integration-for-chris branch in above tree.
Thanks
Zhaolei
Zhao Lei (9):
btrfs: fix condition of commit transaction
btrfs: Fix tail space processing in find_free_dev_extent()
btrfs: Adjust commit-transaction condition to avoid NO_SPACE more
btrfs: Set relative data on clear btrfs_block_group_cache->pinned
btrfs: add WARN_ON() to check is space_info op current
btrfs: Fix NO_SPACE bug caused by delayed-iput
btrfs: Support busy loop of write and delete
btrfs: wait for delayed iputs on no space
btrfs: cleanup unused alloc_chunk varible
fs/btrfs/ctree.h | 1 + fs/btrfs/disk-io.c | 3 ++- fs/btrfs/extent-tree.c | 66 +++++++++++++++++++++++++++++++++++++++----------- fs/btrfs/inode.c | 4 +++ fs/btrfs/volumes.c | 24 +++++++++--------- 5 files changed, 72 insertions(+), 26 deletions(-)
Signature · 1 line
1.8.5.1