commit | ddd0bc756983dc4d19000a4fe021b4c7f9d59aab | [log] [tgz] |
---|---|---|
author | Max Gurtovoy <maxg@mellanox.com> | Mon Jul 30 00:15:31 2018 +0300 |
committer | Jens Axboe <axboe@kernel.dk> | Mon Jul 30 08:27:01 2018 -0600 |
tree | c60de4ff47106f0c20b1f1beda9df7eedbdc8b86 | |
parent | c454edc21b12dd7d416de6c81555e87aaec9685c [diff] |
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>