Skip to content

Commit

Permalink
Merge pull request #11059 from markhpc/wip-bluefs-wal-buffered
Browse files Browse the repository at this point in the history
bluestore/BlueFS: revert direct IO for WRITER_WAL
  • Loading branch information
liewegas committed Sep 13, 2016
2 parents fd6b1cc + 52fa3ba commit 96c436a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/os/bluestore/BlueFS.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1380,7 +1380,7 @@ int BlueFS::_flush_range(FileWriter *h, uint64_t offset, uint64_t length)
assert(h->file->num_readers.load() == 0);

bool buffered;
if (h->file->fnode.ino == 1 || h->writer_type == WRITER_WAL)
if (h->file->fnode.ino == 1)
buffered = false;
else
buffered = g_conf->bluefs_buffered_io;
Expand Down

0 comments on commit 96c436a

Please sign in to comment.