All of lore.kernel.org
 help / color / mirror / Atom feed
* improve the bio cloning interface
@ 2022-01-27  6:35 ` Christoph Hellwig
  0 siblings, 0 replies; 37+ messages in thread
From: Christoph Hellwig @ 2022-01-27  6:35 UTC (permalink / raw)
  To: Jens Axboe
  Cc: Pavel Begunkov, Mike Snitzer, Philipp Reisner, Lars Ellenberg,
	linux-block, dm-devel, drbd-dev

Hi Jens,

this series changes the bio cloning interface to match the rest changes
to the bio allocation interface and passes the block_device and operation
to the cloning helpers.  In addition it renames the cloning helpers to
be more descriptive.

To get there it requires a bit of refactoring in the device mapper code.

Diffstat:
 Documentation/block/biodoc.rst   |    5 -
 block/bio-integrity.c            |    1 
 block/bio.c                      |  106 +++++++++++++-----------
 block/blk-crypto.c               |    1 
 block/blk-mq.c                   |    4 
 block/bounce.c                   |    3 
 drivers/block/drbd/drbd_req.c    |    5 -
 drivers/block/drbd/drbd_worker.c |    4 
 drivers/block/pktcdvd.c          |    4 
 drivers/md/bcache/request.c      |    6 -
 drivers/md/dm-cache-target.c     |   26 ++----
 drivers/md/dm-crypt.c            |   11 +-
 drivers/md/dm-zoned-target.c     |    3 
 drivers/md/dm.c                  |  167 ++++++++++++++-------------------------
 drivers/md/md-faulty.c           |    4 
 drivers/md/md-multipath.c        |    4 
 drivers/md/md.c                  |    5 -
 drivers/md/raid1.c               |   34 +++----
 drivers/md/raid10.c              |   16 +--
 drivers/md/raid5.c               |    4 
 fs/btrfs/extent_io.c             |    4 
 include/linux/bio.h              |    6 -
 22 files changed, 185 insertions(+), 238 deletions(-)

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

end of thread, other threads:[~2022-01-31  8:31 UTC | newest]

Thread overview: 37+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-27  6:35 improve the bio cloning interface Christoph Hellwig
2022-01-27  6:35 ` [dm-devel] " Christoph Hellwig
2022-01-27  6:35 ` [PATCH 01/14] drbd: set ->bi_bdev in drbd_req_new Christoph Hellwig
2022-01-27  6:35   ` [dm-devel] " Christoph Hellwig
2022-01-27  6:35 ` [PATCH 02/14] dm: add a clone_to_tio helper Christoph Hellwig
2022-01-27  6:35   ` [dm-devel] " Christoph Hellwig
2022-01-27  6:35 ` [PATCH 03/14] dm: fold clone_bio into __clone_and_map_data_bio Christoph Hellwig
2022-01-27  6:35   ` [dm-devel] " Christoph Hellwig
2022-01-27  6:35 ` [PATCH 04/14] dm: fold __send_duplicate_bios into __clone_and_map_simple_bio Christoph Hellwig
2022-01-27  6:35   ` [dm-devel] " Christoph Hellwig
2022-01-27  6:35 ` [PATCH 05/14] dm: move cloning the bio into alloc_tio Christoph Hellwig
2022-01-27  6:35   ` [dm-devel] " Christoph Hellwig
2022-01-27  6:35 ` [PATCH 06/14] dm: pass the bio instead of tio to __map_bio Christoph Hellwig
2022-01-27  6:35   ` [dm-devel] " Christoph Hellwig
2022-01-27  6:35 ` [PATCH 07/14] dm: retun the clone bio from alloc_tio Christoph Hellwig
2022-01-27  6:35   ` [dm-devel] " Christoph Hellwig
2022-01-27  6:35 ` [PATCH 08/14] dm: simplify the single bio fast path in __send_duplicate_bios Christoph Hellwig
2022-01-27  6:35   ` [dm-devel] " Christoph Hellwig
2022-01-27  6:35 ` [PATCH 09/14] dm: add a missing bio initialization to alloc_tio Christoph Hellwig
2022-01-27  6:35   ` [dm-devel] " Christoph Hellwig
2022-01-29  5:06   ` [dm] 3826813630: BUG:KASAN:double-free_or_invalid-free_in_dm_io_dec_pending kernel test robot
2022-01-29  5:06     ` kernel test robot
2022-01-29  5:06     ` [dm-devel] " kernel test robot
2022-01-27  6:35 ` [PATCH 10/14] dm-cache: remove __remap_to_origin_clear_discard Christoph Hellwig
2022-01-27  6:35   ` [dm-devel] " Christoph Hellwig
2022-01-27  6:35 ` [PATCH 11/14] block: clone crypto and integrity data in __bio_clone_fast Christoph Hellwig
2022-01-27  6:35   ` [dm-devel] " Christoph Hellwig
2022-01-27  6:35 ` [PATCH 12/14] dm: use bio_clone_fast in alloc_tio Christoph Hellwig
2022-01-27  6:35   ` [dm-devel] " Christoph Hellwig
2022-01-27  6:35 ` [PATCH 13/14] block: initialize the target bio in __bio_clone_fast Christoph Hellwig
2022-01-27  6:35   ` [dm-devel] " Christoph Hellwig
2022-01-27  6:35 ` [PATCH 14/14] block: pass a block_device to bio_clone_fast Christoph Hellwig
2022-01-27  6:35   ` [dm-devel] " Christoph Hellwig
2022-01-27 16:52 ` improve the bio cloning interface Mike Snitzer
2022-01-27 16:52   ` [dm-devel] " Mike Snitzer
2022-01-27 19:58   ` Christoph Hellwig
2022-01-27 19:58     ` [dm-devel] " Christoph Hellwig

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.