diff options
author | Max Gurtovoy <maxg@mellanox.com> | 2018-07-29 23:15:32 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2018-07-30 16:27:02 +0200 |
commit | 10c41ddd61323b27b447bc8e18296ac6c06107ad (patch) | |
tree | 116e298295cfafda21080e0c83b501862753fcf1 /virt | |
parent | block: move ref_tag calculation func to the block layer (diff) | |
download | linux-10c41ddd61323b27b447bc8e18296ac6c06107ad.tar.xz linux-10c41ddd61323b27b447bc8e18296ac6c06107ad.zip |
block: move dif_prepare/dif_complete functions to block layer
Currently these functions are implemented in the scsi layer, but their
actual place should be the block layer since T10-PI is a general data
integrity feature that is used in the nvme protocol as well. Also, use
the tuple size from the integrity profile since it may vary between
integrity types.
Suggested-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Max Gurtovoy <maxg@mellanox.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions