BmapCopy.py: move chunk_size to the class level
authorArtem Bityutskiy <artem.bityutskiy@intel.com>
Tue, 13 Nov 2012 11:37:03 +0000 (13:37 +0200)
committerArtem Bityutskiy <artem.bityutskiy@intel.com>
Thu, 15 Nov 2012 08:01:36 +0000 (10:01 +0200)
commit6816b003279bb152cb0730e7e35585557531904f
treeec6859ccfb25688608ec8673e99ef23e07fac45d
parent909241f8d374ef13518734fcbf7fef9f2dd4eaaa
BmapCopy.py: move chunk_size to the class level

We use 'chunk_size' variable in several places and hard-code it to various
values. Clean this up by introducing class-level variables for size of the
I/O operations we do. Call them 'batch_blocks' and 'batch_bytes' for the
I/O batch size in blocks and bytes.

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