Files
linux/drivers
Akinobu Mita ac17078ae6 [SCSI] scsi_debug: prohibit scsi_debug_unmap_granularity == scsi_debug_unmap_alignment
scsi_debug prohibits setting scsi_debug_unmap_alignment to be greater
than scsi_debug_unmap_granularity.  But setting them to be the same value
is not prohibited.  In this case, the only difference with
scsi_debug_unmap_alignment == 0 is the logical blocks from 0 to
scsi_debug_unmap_alignment - 1 cannot be unmapped.  But the difference is
not properly handled in the current code.

So this prohibits such unusual setting.

Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Acked-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
2013-05-02 15:39:54 -07:00
..
2013-04-29 00:08:46 +02:00
2013-04-26 22:30:25 +02:00
2013-04-28 01:54:49 +02:00
2013-04-16 00:39:41 +02:00
2013-04-28 01:53:50 +02:00
2013-04-28 01:54:41 +02:00
2013-04-25 01:05:28 -07:00