use different read and write functions when using direct_io

This commit is contained in:
Antonio SJ Musumeci 2016-12-20 17:06:34 -05:00
parent 437067b5e0
commit 1aa76a54c2
8 changed files with 122 additions and 19 deletions

View file

@ -47,6 +47,7 @@ namespace mergerfs
mutable pthread_rwlock_t srcmountslock;
uint64_t minfreespace;
bool moveonenospc;
bool direct_io;
public:
const Policy *policies[FuseFunc::Enum::END];