]> www.infradead.org Git - users/hch/misc.git/commit
block: move the block layer auto-integrity code into a new file
authorChristoph Hellwig <hch@lst.de>
Tue, 25 Feb 2025 15:44:32 +0000 (07:44 -0800)
committerJens Axboe <axboe@kernel.dk>
Mon, 3 Mar 2025 18:17:52 +0000 (11:17 -0700)
commite51679112c56ce327d6143caea0f0d2bd4618c4d
treecb848d366b22b11c4a6b3b22be2fdb5a6249caa8
parent5fd0268a8806d35dcaf89139bfcda92be51b2b2f
block: move the block layer auto-integrity code into a new file

The code that automatically creates a integrity payload and generates and
verifies the checksums for bios that don't have submitter-provided
integrity payload currently sits right in the middle of the block
integrity metadata infrastructure.  Split it into a separate file to
make the different layers clear.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Anuj Gupta <anuj20.g@samsung.com>
Reviewed-by: Kanchan Joshi <joshi.k@samsung.com>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Link: https://lore.kernel.org/r/20250225154449.422989-3-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/Makefile
block/bio-integrity-auto.c [new file with mode: 0644]
block/bio-integrity.c