BmapCopy.py: save and restore block device settings
authorArtem Bityutskiy <artem.bityutskiy@intel.com>
Fri, 16 Nov 2012 11:31:44 +0000 (13:31 +0200)
committerArtem Bityutskiy <artem.bityutskiy@intel.com>
Fri, 16 Nov 2012 11:33:19 +0000 (13:33 +0200)
commite3920bc2eb69632b4ecd0cffc771b33cc4fb500b
tree79b061a92ef84d460250834d83a9a3d7ef1459b8
parentcb1bc47977b7062997c9b47e0a21eea5f41878f3
BmapCopy.py: save and restore block device settings

We change block device settings to improve I/O speed (e.g., switch to the
'noop' I/O scheduler). This patch also teaches the BmapCopy module to restore
the settings when the copying is done.

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