Btrfs: fixes and cleanups for 3.1
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest16 patches 2 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/16 | Btrfs: copy string correctly in INO_LOOKUP ioctlfs/ | +1 | 0 replies | |
| 2/16 | Btrfs: fix space leak when skipping small extents during trimmingfs/ | +17 | 0 replies | |
| 3/16 | Btrfs: fix space leak when trimming free extentsfs/ | +8 | 0 replies | |
| 4/16 | Btrfs: check the nodatasum flag when writing compressed filesfs/ | +10 | 0 replies | |
| 5/16 | Btrfs: use wait_event()fs/ | +7 | 0 replies | |
| 6/16 | Btrfs: remove a BUG_ON() in btrfs_commit_transaction()fs/ | +2 | 0 replies | |
| 7/16 | Btrfs: remove remaining ref-cache codefs/ fs/ | +0 | 0 replies | |
| 8/16 | Btrfs: make acl functions really no-op if acl is not enabledfs/ fs/ fs/ | +15 | 0 replies | |
| 9/16 | Btrfs: remove redundant code for dir item lookupfs/ | +2 | 0 replies | |
| 10/16 | Btrfs: clean up search_extent_mapping()fs/ | +3 | 0 replies | |
| 11/16 | Btrfs: clean up code for extent_map lookupfs/ | +29 | 1 reply | |
| 12/16 | Btrfs: clean up code for merging extent mapsfs/ | +21 | 0 replies | |
| 13/16 | Btrfs: remove unused members from struct extent_statefs/ | +0 | 0 replies | |
| 14/16 | Btrfs: clean up for insert_state()fs/ | +5 | 0 replies | |
| 15/16 | Btrfs: clean up for wait_extent_bit()fs/ | +1 | 0 replies | |
| 16/16 | Btrfs: clean up for find_first_extent_bit()fs/ | +24 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 00/16] Btrfs: fixes and cleanups for 3.1
The first 4 patches are bug-fixes, and the remaining are small cleanups that have sit in my git tree for some time.
The first 3 patches have been sent to the list before.
We save some bytes after this patchset:
text data bss dec hex filename 426387 3854 1024 431265 694a1 fs/btrfs/btrfs.o.orig 425651 3854 1024 430529 691c1 fs/btrfs/btrfs.o
I've run xfstests for testing.
===
Li Zefan (12):
Btrfs: copy string correctly in INO_LOOKUP ioctl
Btrfs: fix space leak when skipping small extents during trimming
Btrfs: fix space leak when trimming free extents
Btrfs: check the nodatasum flag when writing compressed files
Btrfs: use wait_event()
Btrfs: remove a BUG_ON() in btrfs_commit_transaction()
Btrfs: remove remaining ref-cache code
Btrfs: make acl functions really no-op if acl is not enabled
Btrfs: remove redundant code for dir item lookup
Btrfs: clean up search_extent_mapping()
Btrfs: clean up code for extent_map lookup
Btrfs: clean up code for merging extent maps
Xiao Guangrong (4):
Btrfs: remove unused members from struct extent_state
Btrfs: clean up for insert_state()
Btrfs: clean up for wait_extent_bit()
Btrfs: clean up for find_first_extent_bit()
fs/btrfs/Makefile | 4 +- fs/btrfs/acl.c | 17 ----- fs/btrfs/compression.c | 14 +++- fs/btrfs/ctree.h | 15 ++++- fs/btrfs/dir-item.c | 30 +-------- fs/btrfs/extent_io.c | 80 ++++++++-------------- fs/btrfs/extent_io.h | 2 - fs/btrfs/extent_map.c | 155 ++++++++++++++----------------------------- fs/btrfs/free-space-cache.c | 43 +++++++----- fs/btrfs/ioctl.c | 3 +- fs/btrfs/ref-cache.c | 68 ------------------- fs/btrfs/ref-cache.h | 52 -------------- fs/btrfs/transaction.c | 65 +++---------------- 13 files changed, 142 insertions(+), 406 deletions(-) delete mode 100644 fs/btrfs/ref-cache.c delete mode 100644 fs/btrfs/ref-cache.h