]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
os/bluestore: _do_zero: handle unzeroed tail blocks
authorSage Weil <sage@redhat.com>
Mon, 28 Mar 2016 19:36:47 +0000 (15:36 -0400)
committerSage Weil <sage@redhat.com>
Wed, 30 Mar 2016 15:23:15 +0000 (11:23 -0400)
commitd9fc4aad8254fc8d4d9e78785b03eef8f19b2456
treef1cbfe3eeab04337c4b8982fa32a56178f884164
parent65e9252d73c15b95b2ca9ab5bc0811d1acc0262d
os/bluestore: _do_zero: handle unzeroed tail blocks

- _do_write_zero when handling tail extent if it is
  shared.
- handle tail extent we are also zeroing later (not in
  the tail handler).  THis mirrors how _do_write is
  structured.
- handle eof to offset zeroing if our offset starts in
  the tail extent.  just like _do_write's wal path.

Signed-off-by: Sage Weil <sage@redhat.com>
src/os/bluestore/BlueStore.cc