From: Sage Weil Date: Tue, 3 Oct 2017 15:41:33 +0000 (-0500) Subject: os/bluestore/BlueFS: crash on enospc X-Git-Tag: v12.2.2~171^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=36675e34b610ed6afa90bdb93da6e49025e4d9e1;p=ceph.git os/bluestore/BlueFS: crash on enospc We were passing this error back to rocksdb, which would then crash (much) later with a corrupted SST file! No good. Signed-off-by: Sage Weil (cherry picked from commit 569e924812bd7cc61e6e755f265890dbd5c95c31) --- diff --git a/src/os/bluestore/BlueFS.cc b/src/os/bluestore/BlueFS.cc index a34dfc4c6813..0f570893ba0a 100644 --- a/src/os/bluestore/BlueFS.cc +++ b/src/os/bluestore/BlueFS.cc @@ -1515,6 +1515,7 @@ int BlueFS::_flush_range(FileWriter *h, uint64_t offset, uint64_t length) derr << __func__ << " allocated: 0x" << std::hex << allocated << " offset: 0x" << offset << " length: 0x" << length << std::dec << dendl; + assert(0 == "bluefs enospc"); return r; } h->file->fnode.recalc_allocated();