FITRIM improvement
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v4 Latest15 patches 18 repliesIn review
- v312 patches 13 repliesSuperseded
- v212 patches 5 repliesSuperseded
Earlier versions · 1
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v1 | 15 patches | 18 replies | Superseded |
Patches in v4 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/15 | btrfs: Honour FITRIM range constraints during free space trimfs/ | +19 | 1 reply | |
| 2/15 | btrfs: combine device update operations during transaction commitfs/ fs/ fs/ +3 more | +51 | 1 reply | |
| 3/15 | btrfs: Handle pending/pinned chunks before blockgroup relocation during device shrinkfs/ | +24 | 3 replies | |
| 4/15 | btrfs: Rename and export clear_btree_io_treefs/ fs/ fs/ | +33 | 0 replies | |
| 5/15 | btrfs: Populate ->orig_block_len during read_one_chunkfs/ | +22 | 0 replies | |
| 6/15 | btrfs: Introduce new bits for device allocation treefs/ | +4 | 0 replies | |
| 7/15 | btrfs: Implement set_extent_bits_nowaitfs/ fs/ | +9 | 0 replies | |
| 8/15 | btrfs: Stop using call_rcu for device freeingfs/ fs/ | +8 | 3 replies | |
| 9/15 | btrfs: replace pending/pinned chunks lists with io treefs/ fs/ fs/ +7 more | +65 | 4 replies | |
| 10/15 | btrfs: Transpose btrfs_close_devices/btrfs_mapping_tree_free in close_ctreefs/ | +1 | 0 replies | |
| 11/15 | btrfs: Remove 'trans' argument from find_free_dev_extent(_start)fs/ fs/ fs/ | +10 | 0 replies | |
| 12/15 | btrfs: Factor out in_range macrofs/ fs/ fs/ | +2 | 0 replies | |
| 13/15 | btrfs: Optimize unallocated chunks discardfs/ fs/ fs/ | +66 | 2 replies | |
| 14/15 | btrfs: Implement find_first_clear_extent_bitfs/ fs/ | +75 | 0 replies | |
| 15/15 | btrfs: Switch btrfs_trim_free_extents to find_first_clear_extent_bitfs/ | +26 | 0 replies |
Reviews trailers per patch
2 of 15 patches have a Reviewed-by or Acked-by.
| Patch | David Sterba |
|---|---|
| 1/15 | |
| 2/15 | |
| 3/15 | |
| 4/15 | R-b |
| 5/15 | R-b |
| 6/15 | |
| 7/15 | |
| 8/15 | |
| 9/15 | |
| 10/15 | |
| 11/15 | |
| 12/15 | |
| 13/15 | |
| 14/15 | |
| 15/15 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v4 00/15] FITRIM improvement
Here is the (hopefully final) v4 of the fitrim patches. Main changes since v3:
* Fixed leaked btrfs_path in patch 3.
* Fixed multiple assignemnt on single line in patch 3.
* New patch 9 transposing btrfs_close_devices/btrfs_mapping_tree_free, in v3 this change was wrongly squashed in patch "Introduce new bits for device allocation tree".
* Introduced new patch "Implement set_extent_bits_nowait" and use it instead of exposing __set_extent_bit in patch 9.
* Introduce new patch "Stop using call_rcu for device freeing" which simplifies the resulting code freeing the mapping tree, this is prep for patch 9. This also fixes a bunch of places that weren't correctly freeing the extent mapping tree upon device close.
* Fixed ASSERT condition in patch 2
Jeff Mahoney (1):
btrfs: replace pending/pinned chunks lists with io tree
Nikolay Borisov (14):
btrfs: Honour FITRIM range constraints during free space trim
btrfs: combine device update operations during transaction commit
btrfs: Handle pending/pinned chunks before blockgroup relocation
during device shrink
btrfs: Rename and export clear_btree_io_tree
btrfs: Populate ->orig_block_len during read_one_chunk
btrfs: Introduce new bits for device allocation tree
btrfs: Implement set_extent_bits_nowait
btrfs: Stop using call_rcu for device freeing
btrfs: Transpose btrfs_close_devices/btrfs_mapping_tree_free in
close_ctree
btrfs: Remove 'trans' argument from find_free_dev_extent(_start)
btrfs: Factor out in_range macro
btrfs: Optimize unallocated chunks discard
btrfs: Implement find_first_clear_extent_bit
btrfs: Switch btrfs_trim_free_extents to find_first_clear_extent_bit
fs/btrfs/ctree.h | 8 +- fs/btrfs/dev-replace.c | 2 +- fs/btrfs/disk-io.c | 20 +-- fs/btrfs/extent-tree.c | 102 +++++-------- fs/btrfs/extent_io.c | 108 +++++++++++++ fs/btrfs/extent_io.h | 15 ++ fs/btrfs/extent_map.c | 37 +++++ fs/btrfs/extent_map.h | 1 - fs/btrfs/free-space-cache.c | 4 - fs/btrfs/transaction.c | 51 +------ fs/btrfs/transaction.h | 2 +- fs/btrfs/volumes.c | 296 ++++++++++++++---------------------- fs/btrfs/volumes.h | 24 +-- 13 files changed, 341 insertions(+), 329 deletions(-)
Signature · 1 line
2.17.1