Hi Bart, > Has this patch already been sent to Linus? I see it in your > 5.0/scsi-fixes branch but I can't find it in Linus' current master > branch. commit 40d07b523cf434f252b134c86b1f8f2d907ffb0b Author: Douglas Gilbert <dgilbert@xxxxxxxxxxxx> Date: Fri Jan 25 12:46:09 2019 -0500 scsi: scsi_debug: fix write_same with virtual_gb problem The WRITE SAME(10) and (16) implementations didn't take account of the buffer wrap required when the virtual_gb parameter is greater than 0. Fix that and rename the fake_store() function to lba2fake_store() to lessen confusion with the global fake_storep pointer. Bump version date. Signed-off-by: Douglas Gilbert <dgilbert@xxxxxxxxxxxx> Reported-by: Bart Van Assche <bvanassche@xxxxxxx> Tested by: Bart Van Assche <bvanassche@xxxxxxx> Signed-off-by: Martin K. Petersen <martin.petersen@xxxxxxxxxx> $ git tag --contains 40d07b523cf434f252b134c86b1f8f2d907ffb0b v5.0 v5.0-rc5 v5.0-rc6 v5.0-rc7 v5.0-rc8 v5.0.1 v5.0.2 v5.0.3 v5.1-rc1 -- Martin K. Petersen Oracle Linux Engineering