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-02-28 12:43:43 -08:00
2011-07-26 16:49:47 -07:00
2013-03-20 16:26:32 +01:00
2013-04-30 13:16:38 -07:00
2013-02-22 23:31:31 -05:00
2013-02-22 23:31:31 -05:00
2013-02-22 23:31:31 -05:00
2013-02-27 19:10:18 -08:00
2013-02-22 23:31:31 -05:00
2012-03-28 18:30:03 +01:00
2013-01-29 13:55:06 +11:00
2012-09-01 08:43:34 -07:00
2013-01-03 15:57:01 -08:00
2012-03-22 12:55:29 -07:00
2012-03-28 18:30:03 +01:00
2012-03-28 18:30:03 +01:00
2012-03-28 18:30:03 +01:00
2012-02-21 11:40:37 +01:00
2012-11-13 21:11:31 -08:00
2012-01-03 22:54:07 -05:00
2013-02-27 19:10:18 -08:00
2012-09-14 17:59:29 +01:00
2013-03-02 11:42:16 -08:00
2012-03-28 18:30:03 +01:00