mirror of
https://github.com/ceph/ceph
synced 2025-03-11 02:39:05 +00:00
os/FileStore.cc: move variable async_done to the right #ifdef block
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
This commit is contained in:
parent
2a94340019
commit
868447d65d
@ -2910,8 +2910,8 @@ int FileStore::_write(coll_t cid, const hobject_t& oid,
|
||||
{
|
||||
bool should_flush = (ssize_t)len >= m_filestore_flush_min;
|
||||
bool local_flush = false;
|
||||
bool async_done = false;
|
||||
#ifdef HAVE_SYNC_FILE_RANGE
|
||||
bool async_done = false;
|
||||
if (!should_flush ||
|
||||
!m_filestore_flusher ||
|
||||
!(async_done = queue_flusher(fd, offset, len, replica))) {
|
||||
|
Loading…
Reference in New Issue
Block a user