Fixes: https://tracker.ceph.com/issues/56533
Signed-off-by: Igor Fedotov <igor.fedotov@croit.io>
(cherry picked from commit
576cf8c076b37be978cea06fc5b7348aeffe6829)
Conflicts:
src/os/bluestore/BlueFS.cc
caused by https://github.com/ceph/ceph/pull/43794 (BlueFS fine grain locking) not present in
Pacific
int BlueFS::_signal_dirty_to_log(FileWriter *h)
{
+ if (h->file->deleted) {
+ dout(10) << __func__ << " deleted, no-op" << dendl;
+ return 0;
+ }
+
h->file->fnode.mtime = ceph_clock_now();
ceph_assert(h->file->fnode.ino >= 1);
if (h->file->dirty_seq == 0) {