diff options
author | Akinobu Mita <akinobu.mita@gmail.com> | 2013-06-29 08:59:17 (GMT) |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2013-07-09 08:24:25 (GMT) |
commit | e9926b4376544d5a2dc4d310d4d0006c634b1a93 (patch) | |
tree | 2d1fbe3341b66fe39e57c49d5c562cadaddc3f4c /block/blk-throttle.c | |
parent | 7cb69d0397233546d82191e524235fdb9d1d91aa (diff) | |
download | linux-fsl-qoriq-e9926b4376544d5a2dc4d310d4d0006c634b1a93.tar.xz |
[SCSI] scsi_debug: invalidate protection info for unmapped region
When UNMAP command is issued with the data integrity support enabled,
the protection info for the unmapped region is remain unchanged.
So READ command for the region later on causes data integrity failure.
This fixes it by invalidating protection info for the unmapped region
by filling with 0xff pattern.
Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Acked-by: Douglas Gilbert <dgilbert@interlog.com>
Acked-by: "Martin K. Petersen" <martin.petersen@oracle.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'block/blk-throttle.c')
0 files changed, 0 insertions, 0 deletions