crimson/osd: check for DNE object and return ENOENT in read ops
authorKefu Chai <kchai@redhat.com>
Fri, 21 Aug 2020 04:31:16 +0000 (12:31 +0800)
committerKefu Chai <kchai@redhat.com>
Mon, 24 Aug 2020 09:51:32 +0000 (17:51 +0800)
commite824d484bb14a6c0d7fc8e74edb42a8f79fc92ab
tree75a3665ef565881b0f6fb3009c9f80dd598db973
parent0daa762ece3abcdbae0cb1be77977824930b3402
crimson/osd: check for DNE object and return ENOENT in read ops

* omap_get_keys()
  this change addresses the failure of
  test_rados.py:TestIoctx.test_get_omap_keys
* omap_get_vals_by_keys()
  this change addresses the failure of
  test_rados.py:TestIoctx.test_get_omap_vals_by_keys
* read()
  this change addresses the failure of
  test_rados.py:TestIoctx.test_write_ops

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/crimson/osd/pg_backend.cc