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>
Showing
- drivers/infiniband/ulp/iser/iser_memory.c 1 addition, 1 deletiondrivers/infiniband/ulp/iser/iser_memory.c
- drivers/nvme/host/core.c 1 addition, 2 deletionsdrivers/nvme/host/core.c
- drivers/scsi/mpt3sas/mpt3sas_scsih.c 1 addition, 1 deletiondrivers/scsi/mpt3sas/mpt3sas_scsih.c
- drivers/scsi/sd_dif.c 2 additions, 2 deletionsdrivers/scsi/sd_dif.c
- include/linux/t10-pi.h 10 additions, 0 deletionsinclude/linux/t10-pi.h
- include/scsi/scsi_cmnd.h 1 addition, 6 deletionsinclude/scsi/scsi_cmnd.h
Loading
Please register or sign in to comment