Bio allocation and error handling cleanups
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest8 patches 16 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/8 | btrfs: bioset allocations will never fail, adapt our helpersfs/ | +19 | 6 replies | |
| 2/8 | btrfs: btrfs_bio_alloc never fails, skip error handlingfs/ | +0 | 1 reply | |
| 3/8 | btrfs: btrfs_bio_clone never fails, skip error handlingfs/ fs/ | +0 | 3 replies | |
| 4/8 | btrfs: btrfs_io_bio_alloc never fails, skip error handlingfs/ fs/ fs/ +2 more | +0 | 1 reply | |
| 5/8 | btrfs: sink gfp parameter to btrfs_bio_clonefs/ fs/ fs/ +1 more | +5 | 1 reply | |
| 6/8 | btrfs: remove redundant parameters from btrfs_bio_allocfs/ fs/ fs/ | +5 | 2 replies | |
| 7/8 | btrfs: opencode trivial compressed_bio_alloc, simplify error handlingfs/ | +4 | 1 reply | |
| 8/8 | btrfs: pass bytes to btrfs_bio_allocfs/ fs/ fs/ | +8 | 1 reply |
Reviews trailers per patch
7 of 8 patches have a Reviewed-by or Acked-by.
| Patch | Christoph Hellwig | Anand Jain |
|---|---|---|
| 1/8 | R-b | R-b |
| 2/8 | R-b | |
| 3/8 | R-b | |
| 4/8 | R-b | |
| 5/8 | R-b | |
| 6/8 | ||
| 7/8 | R-b | |
| 8/8 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/8] Bio allocation and error handling cleanups
The error handling can be simplified as we do bio allocations using a bioset as was pointed out by Christoph in https://lkml.kernel.org/r/[email protected]
David Sterba (8):
btrfs: bioset allocations will never fail, adapt our helpers
btrfs: btrfs_bio_alloc never fails, skip error handling
btrfs: btrfs_bio_clone never fails, skip error handling
btrfs: btrfs_io_bio_alloc never fails, skip error handling
btrfs: sink gfp parameter to btrfs_bio_clone
btrfs: remove redundant parameters from btrfs_bio_alloc
btrfs: opencode trivial compressed_bio_alloc, simplify error handling
btrfs: pass bytes to btrfs_bio_alloc
fs/btrfs/check-integrity.c | 5 ---- fs/btrfs/compression.c | 23 +++------------ fs/btrfs/disk-io.c | 3 -- fs/btrfs/extent_io.c | 71 ++++++++++++++++------------------------------ fs/btrfs/extent_io.h | 6 ++-- fs/btrfs/inode.c | 6 +--- fs/btrfs/raid56.c | 3 -- fs/btrfs/scrub.c | 25 ---------------- fs/btrfs/volumes.c | 3 +- 9 files changed, 32 insertions(+), 113 deletions(-)
Signature · 1 line
2.12.0