zero length write fro store_test to bluestore

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi All,

I'm hitting the following issue while running Synthetic test case (from store_test.cc) against bluestore:

store_test asserts on read data mismatch when read happens after the zero-length write above object boundary.

Test case assumes all the data between the old and new object boundaries are filled with zeros. But current bluestore write path implementation simply discards zero-length writes and hence doesn't raise object size. As a result subsequent read doesn't return anything above the old boundary.

The question is what's the proper fix for that:

1) Ignore zero-length writes in the test case and do not increase object size/fill content on them.

or

2) Increase object content size on such writes in the bluestore.

Thanks,

Igor








--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux