]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
os/bluestore/BlueFS: do not op_file_update deleted files 10686/head
authorSage Weil <sage@redhat.com>
Thu, 11 Aug 2016 16:28:57 +0000 (12:28 -0400)
committerSage Weil <sage@redhat.com>
Thu, 11 Aug 2016 16:28:57 +0000 (12:28 -0400)
commit6f77e63b1548c84e135cb6aec782feef38db654a
tree489144eef2563a6faecb53bba02baf9ce0a38ea0
parent894a3fa1e40b6fdb9abebcc851881dfbc08ddeaa
os/bluestore/BlueFS: do not op_file_update deleted files

Make truncate and preallocate no-op if the file has been
deleted.  Otherwise we may get an op_file_update *after*
the op_file_remove in the log, confusing replay.

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