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-22 10:47:41 +02:00
2019-08-12 15:19:25 +02:00
2019-09-11 01:09:37 +01:00
2019-08-11 10:48:28 +02:00
2019-09-06 15:40:22 -07:00
2019-08-20 10:35:46 +01:00
2019-08-08 13:01:19 -07:00
2019-08-19 13:59:57 +02:00
2019-09-17 16:22:26 -07:00
2019-09-03 12:37:16 +01:00
2019-09-17 12:35:15 -07:00
2019-09-16 15:52:38 -07:00
2019-08-26 15:31:29 -04:00
2019-09-16 15:48:14 -07:00
2019-09-16 14:31:40 -07:00
2019-08-20 22:09:52 +02:00
2019-08-09 17:30:40 +02:00
2019-08-27 09:22:38 -06:00
2019-08-27 09:22:38 -06:00
2019-08-28 21:17:12 -06:00
2019-08-28 21:17:04 -06:00
2019-09-05 19:52:34 -06:00
2019-09-17 20:03:49 -06:00
2019-09-05 10:15:16 +02:00
2019-08-09 09:17:05 -07:00
2019-08-09 12:09:52 +02:00
2019-09-08 14:53:58 +02:00
2019-08-09 17:51:39 +01:00
2019-07-31 13:31:05 -06:00
2019-08-21 07:14:10 +09:00
2019-08-10 19:52:45 +02:00
2019-09-03 19:21:19 +02:00
2019-08-08 11:10:25 +03:00
2019-09-05 19:52:33 -06:00
2019-08-07 13:52:43 +01:00
2019-07-31 13:31:05 -06:00
2019-08-13 16:06:52 -07:00
2019-09-05 11:40:54 +02:00
2019-08-28 13:01:25 +02:00
2019-07-31 13:25:27 -06:00
2019-08-28 11:50:33 +02:00
2019-09-11 12:39:19 +02:00
2019-08-19 15:45:48 +02:00
2019-08-30 16:12:10 +02:00
2019-08-23 10:09:58 +02:00
2019-08-07 14:24:54 +01:00
2019-09-06 23:58:43 +02:00
2019-08-19 09:43:57 -07:00
2019-08-05 12:55:49 +02:00
2019-08-06 08:20:10 -06:00
2019-08-13 14:54:24 +08:00
2019-09-17 16:57:47 -07:00
2019-08-13 16:06:52 -07:00
2019-08-13 16:06:52 -07:00
2019-08-30 18:00:50 -07:00
2019-08-14 15:30:35 +02:00
2019-08-08 09:09:25 +02:00
2019-08-29 12:55:02 -07:00
2019-09-11 14:46:02 +01:00
2019-08-09 19:56:05 +02:00
2019-08-03 07:02:01 -07:00
2019-08-01 06:39:33 +02:00
2019-09-16 15:32:01 -07:00
2019-08-12 10:47:55 +02:00
2019-08-28 11:29:38 +02:00
2019-09-05 11:54:14 +02:00
2019-08-27 20:21:15 -07:00
2019-08-01 21:49:46 +02:00
2019-09-05 21:16:22 +02:00
2019-08-09 17:51:39 +01:00
2019-08-23 16:39:26 +01:00
2019-08-13 14:35:49 -07:00
2019-08-09 11:01:08 -07:00
2019-08-09 11:00:35 -07:00
2019-09-16 17:25:49 -07:00
2019-08-26 16:27:01 -07:00
2019-08-06 12:49:15 +02:00
2019-09-17 12:35:15 -07:00
2019-08-12 12:23:02 +01:00
2019-08-19 06:34:13 -05:00
2019-08-08 22:39:35 -07:00
2019-08-08 22:39:35 -07:00
2019-09-11 12:34:29 +02:00
2019-08-05 14:56:30 -07:00
2019-09-07 21:42:25 +02:00
2019-09-17 20:03:49 -06:00
2019-08-23 02:12:11 +02:00
2019-08-01 20:51:22 +02:00
2019-08-28 11:50:43 +02:00
2019-09-16 17:25:49 -07:00
2019-08-31 06:51:49 -04:00
2019-08-15 15:18:05 +02:00
2019-09-17 12:35:15 -07:00
2019-08-27 09:22:38 -06:00