summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/osd
diff options
context:
space:
mode:
authorMikulas Patocka <mpatocka@redhat.com>2010-08-12 04:13:50 +0100
committerAlasdair G Kergon <agk@redhat.com>2010-08-12 04:13:50 +0100
commit1e5554c8428bc7209a83e2d07ca724be4d981ce3 (patch)
treec434fd684132ae502880dc745b1982fc3ca94db0 /drivers/scsi/osd
parent6bbf79a14080a0c61212f53b4b87dc1a99fedf9c (diff)
downloadlinux-1e5554c8428bc7209a83e2d07ca724be4d981ce3.tar.bz2
dm snapshot: iterate origin and cow devices
Iterate both origin and snapshot devices iterate_devices method should call the callback for all the devices where the bio may be remapped. Thus, snapshot_iterate_devices should call the callback for both snapshot and origin underlying devices because it remaps some bios to the snapshot and some to the origin. snapshot_iterate_devices called the callback only for the origin device. This led to badly calculated device limits if snapshot and origin were placed on different types of disks. Cc: stable@kernel.org Signed-off-by: Mikulas Patocka <mpatocka@redhat.com> Reviewed-by: Mike Snitzer <snitzer@redhat.com> Signed-off-by: Alasdair G Kergon <agk@redhat.com>
Diffstat (limited to 'drivers/scsi/osd')
0 files changed, 0 insertions, 0 deletions