summaryrefslogtreecommitdiffstats
path: root/Documentation/kdump
diff options
context:
space:
mode:
authorAkinobu Mita <akinobu.mita@gmail.com>2013-04-16 22:11:57 +0900
committerJames Bottomley <JBottomley@Parallels.com>2013-05-02 15:40:41 -0700
commitcc34a8e663b2908b9ab487dab8456d117a1e0b93 (patch)
tree44afa617c1072371827df144f61e9781a99d9419 /Documentation/kdump
parentac17078ae6947254331f56ce4f1db9ea221d43d6 (diff)
downloadtalos-op-linux-cc34a8e663b2908b9ab487dab8456d117a1e0b93.tar.gz
talos-op-linux-cc34a8e663b2908b9ab487dab8456d117a1e0b93.zip
[SCSI] scsi_debug: clear correct memory region when LBPRZ is enabled
The function unmap_region() clears memory region specified as the logical block address and the number of logical blocks in ramdisk storage (fake_storep) if lbpu and lbprz module parameters are enabled. In the while loop of unmap_region(), it advances optimal unmap granularity in logical blocks. But it only clears one logical block at LBA 'block' per loop iteration. And furthermore, the 'block' is not pointing to a logical block address which should be cleared, it is a index of probisioning map (map_storep). 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>
Diffstat (limited to 'Documentation/kdump')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud