All of lore.kernel.org
 help / color / mirror / Atom feed
* bio splitting cleanups v2
@ 2022-07-23  6:28 Christoph Hellwig
  2022-07-23  6:28 ` [PATCH 1/6] block: change the blk_queue_split calling convention Christoph Hellwig
                   ` (6 more replies)
  0 siblings, 7 replies; 13+ messages in thread
From: Christoph Hellwig @ 2022-07-23  6:28 UTC (permalink / raw)
  To: Jens Axboe; +Cc: linux-block

Hi Jens,

this series has two parts:  the first part moves the ->bio_split
bio_set to the gendisk as it only is used for file system style I/O.

The other patches reshuffle the bio splitting code so that in the future
blk_bio_segment_split can be used to split REQ_OP_ZONE_APPEND bios
under file system / remapping driver control.  I plan to use that in
btrfs in the next merge window.

Changes since v1:
 - drop a bogus patch
 - fix a comment typo
 - fix a commit log typo
 - clean up the blk_queue_split calling convention and name

Diffstat:
 block/bio-integrity.c         |    2 
 block/bio.c                   |    2 
 block/blk-core.c              |    9 --
 block/blk-merge.c             |  186 +++++++++++++++++++++---------------------
 block/blk-mq.c                |    6 -
 block/blk-sysfs.c             |    2 
 block/blk.h                   |   47 ++++------
 block/bounce.c                |   26 ++---
 block/genhd.c                 |    8 +
 drivers/block/drbd/drbd_req.c |    2 
 drivers/block/pktcdvd.c       |    2 
 drivers/block/ps3vram.c       |    2 
 drivers/md/dm.c               |    8 -
 drivers/md/md.c               |    2 
 drivers/nvme/host/multipath.c |    2 
 drivers/s390/block/dcssblk.c  |    2 
 include/linux/blkdev.h        |    5 -
 17 files changed, 154 insertions(+), 159 deletions(-)

^ permalink raw reply	[flat|nested] 13+ messages in thread
* bio splitting cleanups v3
@ 2022-07-26 18:30 Christoph Hellwig
  2022-07-26 18:30 ` [PATCH 4/6] block: move the call to get_max_io_size out of blk_bio_segment_split Christoph Hellwig
  0 siblings, 1 reply; 13+ messages in thread
From: Christoph Hellwig @ 2022-07-26 18:30 UTC (permalink / raw)
  To: Jens Axboe; +Cc: linux-block

Hi Jens,

this series has two parts:  the first part moves the ->bio_split
bio_set to the gendisk as it only is used for file system style I/O.

The other patches reshuffle the bio splitting code so that in the future
blk_bio_segment_split can be used to split REQ_OP_ZONE_APPEND bios
under file system / remapping driver control.  I plan to use that in
btrfs in the next merge window.

Changes since v2:
 - trivial rebase to the for-next tree

Changes since v1:
 - drop a bogus patch
 - fix a comment typo
 - fix a commit log typo
 - clean up the blk_queue_split calling convention and name


^ permalink raw reply	[flat|nested] 13+ messages in thread
* bio splitting cleanups v4
@ 2022-07-27 16:22 Christoph Hellwig
  2022-07-27 16:22 ` [PATCH 4/6] block: move the call to get_max_io_size out of blk_bio_segment_split Christoph Hellwig
  0 siblings, 1 reply; 13+ messages in thread
From: Christoph Hellwig @ 2022-07-27 16:22 UTC (permalink / raw)
  To: Jens Axboe; +Cc: linux-block

Hi Jens,

this series has two parts:  the first part moves the ->bio_split
bio_set to the gendisk as it only is used for file system style I/O.

The other patches reshuffle the bio splitting code so that in the future
blk_bio_segment_split can be used to split REQ_OP_ZONE_APPEND bios
under file system / remapping driver control.  I plan to use that in
btrfs in the next merge window.

Changes since v3:
 - fix a merge error and rebase to the for-5.20/drivers-post branch

Changes since v2:
 - trivial rebase to the for-next tree

Changes since v1:
 - drop a bogus patch
 - fix a comment typo
 - fix a commit log typo
 - clean up the blk_queue_split calling convention and name


^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2022-07-28  8:08 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-23  6:28 bio splitting cleanups v2 Christoph Hellwig
2022-07-23  6:28 ` [PATCH 1/6] block: change the blk_queue_split calling convention Christoph Hellwig
2022-07-23  6:28 ` [PATCH 2/6] block: change the blk_queue_bounce " Christoph Hellwig
2022-07-23  6:28 ` [PATCH 3/6] block: move ->bio_split to the gendisk Christoph Hellwig
2022-07-23  6:28 ` [PATCH 4/6] block: move the call to get_max_io_size out of blk_bio_segment_split Christoph Hellwig
2022-07-23  6:28 ` [PATCH 5/6] block: move bio_allowed_max_sectors to blk-merge.c Christoph Hellwig
2022-07-23  6:28 ` [PATCH 6/6] block: pass struct queue_limits to the bio splitting helpers Christoph Hellwig
2022-07-25 23:06 ` bio splitting cleanups v2 Jens Axboe
2022-07-26 11:05   ` Christoph Hellwig
2022-07-26 18:22     ` Jens Axboe
2022-07-26 18:30 bio splitting cleanups v3 Christoph Hellwig
2022-07-26 18:30 ` [PATCH 4/6] block: move the call to get_max_io_size out of blk_bio_segment_split Christoph Hellwig
2022-07-27 16:22 bio splitting cleanups v4 Christoph Hellwig
2022-07-27 16:22 ` [PATCH 4/6] block: move the call to get_max_io_size out of blk_bio_segment_split Christoph Hellwig
2022-07-28  8:08   ` Hannes Reinecke

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.