Filemap: remove useless constants and a parameter
authorArtem Bityutskiy <artem.bityutskiy@intel.com>
Thu, 16 Jan 2014 11:22:07 +0000 (13:22 +0200)
committerArtem Bityutskiy <artem.bityutskiy@intel.com>
Thu, 16 Jan 2014 11:36:01 +0000 (13:36 +0200)
commit58a96f0c08d156944fc6d70343b030c5a8c81a54
treef3056d688099c57fe1db14f300f344e695dccec8
parent84a2cb0dd94d290cebbbde84c44ef421ef3088cb
Filemap: remove useless constants and a parameter

This patch simplifies the Fiemap class API and removes the 'buf_size'
constructor parameter because it is useless. The default 256K value is good
enough. Remove a couple of related constants along with this for the same
reason.

Change-Id: I6d9bbca7f54ae409ad6e83b21b35a5e84504f847
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@intel.com>
bmaptools/Filemap.py
tests/test_filemap.py