block: cleanup on direct access to bvec table(prepare for multipage bvec)
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest10 patches 8 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/10 | block: introduce bio helpers for converting to multipage bvecinclude/ | +24 | 0 replies | |
| 2/10 | block: conver to bio_first_bvec() & bio_first_page()drivers/ drivers/ drivers/ +5 more | +13 | 0 replies | |
| 3/10 | fs: convert to bio_last_bvec()fs/ fs/ fs/ | +3 | 0 replies | |
| 4/10 | block: bounce: avoid direct access to bvec tableblock/ | +8 | 0 replies | |
| 5/10 | block: bounce: don't access bio->bi_io_vec in copy_to_high_bio_irqblock/ include/ | +20 | 0 replies | |
| 6/10 | dm: limit the max bio size as BIO_MAX_PAGES * PAGE_SIZEdrivers/ | +9 | 0 replies | |
| 7/10 | bcache: comment on direct access to bvec tabledrivers/ drivers/ | +8 | 0 replies | |
| 8/10 | block: move bio_alloc_pages() to bcacheblock/ drivers/ drivers/ +1 more | +28 | 2 replies | |
| 9/10 | btrfs: avoid access to .bi_vcnt directlyfs/ fs/ | +6 | 0 replies | |
| 10/10 | btrfs: avoid to access bvec table directly for a cloned biofs/ | +3 | 0 replies |
Reviews trailers per patch
4 of 10 patches have a Reviewed-by or Acked-by.
| Patch | Coly Li | Christoph Hellwig | David Sterba | Liu Bo |
|---|---|---|---|---|
| 1/10 | ||||
| 2/10 | ||||
| 3/10 | ||||
| 4/10 | ||||
| 5/10 | ||||
| 6/10 | R-b | |||
| 7/10 | A-b | |||
| 8/10 | ||||
| 9/10 | A-b | |||
| 10/10 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.
Cover letter [PATCH 00/10] block: cleanup on direct access to bvec table(prepare for multipage bvec)
Hi,
This patchse cleans up most of direct access to bvec table in tree, and these patches are the follow-up of patch1 ~ 16 in the patchset of 'block:
support multipage bvec(V3)'[1].
Changes against [1]:
1) split the cleanup patches from [1]
2) address comments from Christoph:
- introduce bio helpers for dealing with the cleanup
- move bio_alloc_pages() to bcache
[1] https://marc.info/?t=150218197600001&r=1&w=2
Thanks,
Ming
Ming Lei (10):
block: introduce bio helpers for converting to multipage bvec
block: conver to bio_first_bvec() & bio_first_page()
fs: convert to bio_last_bvec()
block: bounce: avoid direct access to bvec table
block: bounce: don't access bio->bi_io_vec in copy_to_high_bio_irq
dm: limit the max bio size as BIO_MAX_PAGES * PAGE_SIZE
bcache: comment on direct access to bvec table
block: move bio_alloc_pages() to bcache
btrfs: avoid access to .bi_vcnt directly
btrfs: avoid to access bvec table directly for a cloned bio
block/bio.c | 28 ---------------------------- block/bounce.c | 33 +++++++++++++++++++-------------- drivers/block/drbd/drbd_bitmap.c | 2 +- drivers/block/zram/zram_drv.c | 2 +- drivers/md/bcache/btree.c | 1 + drivers/md/bcache/super.c | 8 ++++---- drivers/md/bcache/util.c | 34 ++++++++++++++++++++++++++++++++++ drivers/md/bcache/util.h | 1 + drivers/md/dm.c | 10 +++++++++- fs/btrfs/compression.c | 4 ++-- fs/btrfs/extent_io.c | 11 ++++++----- fs/btrfs/extent_io.h | 2 +- fs/btrfs/inode.c | 8 +++++--- fs/buffer.c | 2 +- fs/f2fs/data.c | 2 +- include/linux/bio.h | 25 ++++++++++++++++++++++++- include/linux/bvec.h | 9 +++++++++ kernel/power/swap.c | 2 +- mm/page_io.c | 4 ++-- 19 files changed, 122 insertions(+), 66 deletions(-)
Signature · 1 line
2.9.5