BmapCopy.py: make blkdev optimization work for partitions as wall
authorArtem Bityutskiy <artem.bityutskiy@intel.com>
Fri, 16 Nov 2012 10:31:56 +0000 (12:31 +0200)
committerArtem Bityutskiy <artem.bityutskiy@intel.com>
Fri, 16 Nov 2012 10:31:56 +0000 (12:31 +0200)
commitcb1bc47977b7062997c9b47e0a21eea5f41878f3
tree192eff80a7a3086eded2a3d93a6fbc6552e1649c
parent62f3ff533091e13b6b028e01f8e20fe04b2b0e9f
BmapCopy.py: make blkdev optimization work for partitions as wall

If we are writing to something like /dev/sdc1 instead of /dev/sdc, we should
go one level up in the sysfs hierarchy to access the block device configuration
files like 'scheduler'.

Change-Id: I845a145197aa15513a288214f0b58c7a1da3b8cf
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@intel.com>
TODO
bmaptools/BmapCopy.py