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