diff options
author | Martin K. Petersen <martin.petersen@oracle.com> | 2014-09-27 01:20:08 +0200 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2014-09-30 23:17:35 +0200 |
commit | c611529e7cd3465ec0eada0f44200e8420c38908 (patch) | |
tree | c1cbfbd9b3229906ec36c897761d06e1521823bd /block | |
parent | block: Replace strnicmp with strncasecmp (diff) | |
download | linux-c611529e7cd3465ec0eada0f44200e8420c38908.tar.xz linux-c611529e7cd3465ec0eada0f44200e8420c38908.zip |
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