All of lore.kernel.org
 help / color / mirror / Atom feed
From: Christoph Hellwig <hch@lst.de>
To: Jens Axboe <axboe@kernel.dk>
Cc: linux-block@vger.kernel.org
Subject: bio splitting cleanups v2
Date: Sat, 23 Jul 2022 08:28:10 +0200	[thread overview]
Message-ID: <20220723062816.2210784-1-hch@lst.de> (raw)

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(-)

             reply	other threads:[~2022-07-23  6:28 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-23  6:28 Christoph Hellwig [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220723062816.2210784-1-hch@lst.de \
    --to=hch@lst.de \
    --cc=axboe@kernel.dk \
    --cc=linux-block@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.