All of lore.kernel.org
 help / color / mirror / Atom feed
* more integrity cleanups
@ 2024-06-28 13:27 Christoph Hellwig
  2024-06-28 13:27 ` [PATCH 1/3] block: split integrity support out of bio.h Christoph Hellwig
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Christoph Hellwig @ 2024-06-28 13:27 UTC (permalink / raw)
  To: Jens Axboe; +Cc: Martin K . Petersen, Anuj Gupta, Kanchan Joshi, linux-block

Hi Jens and Martin,

this series has more cleanups to the block layer integrity code.
It splits the bio integrity APIs into their own header as they are
only used by very few source files, cleans up their stubs a little
bit, and then in the last patch change when the bio_integrity_payload
is freed when it is not owned by the block layer.  This avoids having
to know the submitter in the core code and will simplify adding other
consuer of the API like file systems or the io_uring non-passthrough
PI support.

It sits on top of the previously sumitted "integrity cleanups" series.

Diffstat:
 block/bio-integrity.c         |   56 ++++++---------
 block/bio.c                   |    2 
 block/blk-map.c               |    3 
 block/blk.h                   |    5 +
 block/bounce.c                |    2 
 drivers/md/dm.c               |    1 
 drivers/nvme/host/ioctl.c     |    1 
 drivers/scsi/sd.c             |    3 
 include/linux/bio-integrity.h |  153 ++++++++++++++++++++++++++++++++++++++++++
 include/linux/bio.h           |  152 -----------------------------------------
 include/linux/blk-integrity.h |    1 
 11 files changed, 192 insertions(+), 187 deletions(-)

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

end of thread, other threads:[~2024-06-29  5:02 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-28 13:27 more integrity cleanups Christoph Hellwig
2024-06-28 13:27 ` [PATCH 1/3] block: split integrity support out of bio.h Christoph Hellwig
2024-06-28 13:27 ` [PATCH 2/3] block: also return bio_integrity_payload * from stubs Christoph Hellwig
2024-06-28 13:27 ` [PATCH 3/3] block: don't free submitter owned integrity payload on I/O completion Christoph Hellwig
2024-06-28 16:16   ` Kanchan Joshi
2024-06-29  5:02     ` 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.