]> git.baikalelectronics.ru Git - kernel.git/commit
block: move ref_tag calculation func to the block layer
authorMax Gurtovoy <maxg@mellanox.com>
Sun, 29 Jul 2018 21:15:31 +0000 (00:15 +0300)
committerJens Axboe <axboe@kernel.dk>
Mon, 30 Jul 2018 14:27:01 +0000 (08:27 -0600)
commit866be64d1545f49d90a021561a7da0d31166ba9a
treec60de4ff47106f0c20b1f1beda9df7eedbdc8b86
parente1194eea4fecbb3352b55421c4798356ded651dd
block: move ref_tag calculation func to the block layer

Currently this function is implemented in the scsi layer, but it's
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.

Suggested-by: Christoph Hellwig <hch@lst.de>
Cc: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Max Gurtovoy <maxg@mellanox.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/infiniband/ulp/iser/iser_memory.c
drivers/nvme/host/core.c
drivers/scsi/mpt3sas/mpt3sas_scsih.c
drivers/scsi/sd_dif.c
include/linux/t10-pi.h
include/scsi/scsi_cmnd.h