linux/drivers/target
Christoph Hellwig 105ca2a2c2 block: split struct bio_integrity_payload
Many of the fields in struct bio_integrity_payload are only needed for
the default integrity buffer in the block layer, and the variable
sized array at the end of the structure makes it very hard to embed
into caller allocated structures.

Reduce struct bio_integrity_payload to the minimal structure needed in
common code and create two separate containing structures for the
automatically generated payload and the caller allocated payload.
The latter is a simple wrapper for struct bio_integrity_payload and
the bvecs, while the former contains the additional fields moved out
of struct bio_integrity_payload.

Always use a dedicated mempool for automatic integrity metadata
instead of depending on bio_set that is submitter controlled and thus
often doesn't have the mempool initialized and stop using mempools for
the submitter buffers as they aren't in the NOIO I/O submission path
where we need to guarantee forward progress.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Tested-by: Anuj Gupta <anuj20.g@samsung.com>
Reviewed-by: Anuj Gupta <anuj20.g@samsung.com>
Reviewed-by: Kanchan Joshi <joshi.k@samsung.com>
Link: https://lore.kernel.org/r/20250225154449.422989-4-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2025-03-03 11:17:52 -07:00
..
iscsi SCSI misc on 20250126 2025-01-26 16:12:44 -08:00
loopback
sbp move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
tcm_fc move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
tcm_remote
Kconfig
Makefile
target_core_alua.c move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
target_core_alua.h
target_core_configfs.c
target_core_device.c SCSI fixes on 20241019 2024-10-19 12:52:19 -07:00
target_core_fabric_configfs.c
target_core_fabric_lib.c move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
target_core_file.c move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
target_core_file.h
target_core_hba.c
target_core_iblock.c block: split struct bio_integrity_payload 2025-03-03 11:17:52 -07:00
target_core_iblock.h
target_core_internal.h
target_core_pr.c move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
target_core_pr.h
target_core_pscsi.c block: remove bio_add_pc_page 2025-01-04 15:27:35 -07:00
target_core_pscsi.h
target_core_rd.c
target_core_rd.h
target_core_sbc.c move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
target_core_spc.c move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
target_core_stat.c scsi: target: core: Add line break to status show 2025-01-21 12:19:04 -05:00
target_core_tmr.c
target_core_tpg.c
target_core_transport.c move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
target_core_ua.c
target_core_ua.h
target_core_user.c Merge branch '6.13/scsi-queue' into 6.13/scsi-fixes 2024-12-02 12:36:18 -05:00
target_core_xcopy.c move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
target_core_xcopy.h