Files
linux-st/include/linux
Max Gurtovoy 54d4e6ab91 block: centralize PI remapping logic to the block layer
Currently t10_pi_prepare/t10_pi_complete functions are called during the
NVMe and SCSi layers command preparetion/completion, but their actual
place should be the block layer since T10-PI is a general data integrity
feature that is used by block storage protocols. Introduce .prepare_fn
and .complete_fn callbacks within the integrity profile that each type
can implement according to its needs.

Suggested-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Suggested-by: Martin K. Petersen <martin.petersen@oracle.com>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Max Gurtovoy <maxg@mellanox.com>

Fixed to not call queue integrity functions if BLK_DEV_INTEGRITY
isn't defined in the config.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
2019-09-17 20:03:49 -06:00
..
2019-08-20 22:09:52 +02:00
2019-08-28 21:17:12 -06:00
2019-09-05 19:52:33 -06:00
2019-09-05 11:40:54 +02:00
2019-08-19 09:43:57 -07:00
2019-08-14 15:30:35 +02:00
2019-08-12 10:47:55 +02:00
2019-08-23 16:39:26 +01:00
2019-09-07 21:42:25 +02:00
2019-08-15 15:18:05 +02:00