public inbox for linux-block@vger.kernel.org
 help / color / mirror / Atom feed
* split out the auto-PI code and data structures v2
@ 2025-02-25 15:44 Christoph Hellwig
  2025-02-25 15:44 ` [PATCH 1/3] block: mark bounce buffering as incompatible with integrity Christoph Hellwig
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Christoph Hellwig @ 2025-02-25 15:44 UTC (permalink / raw)
  To: Jens Axboe
  Cc: Mike Snitzer, Mikulas Patocka, Song Liu, Yu Kuai,
	Martin K. Petersen, Kanchan Joshi, linux-block, dm-devel,
	linux-raid, target-devel

Hi all,

this is the tip of the iceberg of some of the PI work I've done a while
ago, and given the current discussions it might be a good time to send it
out.

The idea is to:

 a) make the auto-PI code stand out more clearly as it seems to lead to
    a lot of confusion
 b) optimize the size of the integrity payload to prepare for usage in
    file systems
 c) make sure the mempool backing actually works for auto-PI.  We'll still
    need a mempool for the actual metadata buffer, but that is left for the
    next series.

Changes since v1:
 - rename the initfunc
 - update the commit messages

Changes since RFC:
 - rename the auto-pi source file
 - fix a typo in a printk message

Diffstat:
 block/Makefile                      |    3 
 block/bio-integrity-auto.c          |  191 +++++++++++++++++++++++++
 block/bio-integrity.c               |  266 ++----------------------------------
 block/bio.c                         |    6 
 block/blk-settings.c                |    5 
 block/blk.h                         |    2 
 block/bounce.c                      |    2 
 block/t10-pi.c                      |    6 
 drivers/md/dm-integrity.c           |   12 -
 drivers/md/dm-table.c               |    6 
 drivers/md/md.c                     |   13 -
 drivers/target/target_core_iblock.c |   12 -
 include/linux/bio-integrity.h       |   25 ---
 include/linux/bio.h                 |    4 
 14 files changed, 226 insertions(+), 327 deletions(-)

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

end of thread, other threads:[~2025-02-26 14:38 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-25 15:44 split out the auto-PI code and data structures v2 Christoph Hellwig
2025-02-25 15:44 ` [PATCH 1/3] block: mark bounce buffering as incompatible with integrity Christoph Hellwig
2025-02-25 15:44 ` [PATCH 2/3] block: move the block layer auto-integrity code into a new file Christoph Hellwig
2025-02-25 15:44 ` [PATCH 3/3] block: split struct bio_integrity_payload Christoph Hellwig
2025-02-26  9:53   ` Kanchan Joshi
2025-02-26 12:10   ` Anuj gupta
2025-02-26 14:38 ` split out the auto-PI code and data structures v2 Jens Axboe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox