diff options
author | Martin K. Petersen <martin.petersen@oracle.com> | 2014-09-26 19:20:08 -0400 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2014-09-30 15:17:35 -0600 |
commit | c611529e7cd3465ec0eada0f44200e8420c38908 (patch) | |
tree | c1cbfbd9b3229906ec36c897761d06e1521823bd /block | |
parent | 582940508b5d589229d0232e0eeee8fef0d54809 (diff) | |
download | linux-c611529e7cd3465ec0eada0f44200e8420c38908.tar.bz2 |
sd: Honor block layer integrity handling flags
A set of flags introduced in the block layer enable better control over
how protection information is handled. These flags are useful for both
error injection and data recovery purposes. Checking can be enabled and
disabled for controller and disk, and the guard tag format is now a
per-I/O property.
Update sd_protect_op to communicate the relevant information to the
low-level device driver via a set of flags in scsi_cmnd.
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Reviewed-by: Sagi Grimberg <sagig@mellanox.com>
Acked-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions