>>>>> "Akinobu" == Akinobu Mita <akinobu.mita@xxxxxxxxx> writes: Akinobu> The function unmap_region() clears memory region specified as Akinobu> the logical block address and the number of logical blocks in Akinobu> ramdisk storage (fake_storep) if lbpu and lbprz module Akinobu> parameters are enabled. Akinobu> In the while loop of unmap_region(), it advances optimal unmap Akinobu> granularity in logical blocks. But it only clears one logical Akinobu> block at LBA 'block' per loop iteration. And furthermore, the Akinobu> 'block' is not pointing to a logical block address which should Akinobu> be cleared, it is a index of probisioning map (map_storep). Acked-by: Martin K. Petersen <martin.petersen@xxxxxxxxxx> -- Martin K. Petersen Oracle Linux Engineering -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html