kstore always return [0, object_size] regardless of offset and length
Signed-off-by: Ning Yao <yaoning@unitedstack.com>
::decode(m, p);
cout << " got " << m << std::endl;
ASSERT_TRUE(!m.empty());
- ASSERT_GE(m[SKIP_STEP], 3u);
+
+ // kstore always return [0, object_size] regardless of offset and length
+ // FIXME: if fiemap logic in kstore is refined
+ if (string(GetParam()) != "kstore") {
+ ASSERT_GE(m[SKIP_STEP], 3u);
+ }
extents_exist = true;
if (m.size() == (MAX_EXTENTS - 2)) {
for (uint64_t i = 1; i < MAX_EXTENTS - 1; i++)