diff --git a/src/os/bluestore/BlueFS.cc b/src/os/bluestore/BlueFS.cc index 0805f843ad3..9159e28812d 100644 --- a/src/os/bluestore/BlueFS.cc +++ b/src/os/bluestore/BlueFS.cc @@ -1828,7 +1828,7 @@ int BlueFS::_allocate(uint8_t id, uint64_t len, } uint64_t hint = 0; - if (!ev->empty()) { + if (!ev->empty() && ev->back().bdev == id) { hint = ev->back().end(); }