Signed-off-by: Moritz Moeller mm@mxs.de
int CephFuse::Handle::loop()
{
- return fuse_session_loop(se);
+ if (client->cct->_conf->fuse_multithreaded) {
+ return fuse_session_loop_mt(se);
+ } else {
+ return fuse_session_loop(se);
+ }
}
uint64_t CephFuse::Handle::fino_snap(uint64_t fino)
OPTION(fuse_big_writes, OPT_BOOL, true)
OPTION(fuse_atomic_o_trunc, OPT_BOOL, true)
OPTION(fuse_debug, OPT_BOOL, false)
+OPTION(fuse_multithreaded, OPT_BOOL, false)
OPTION(crush_location, OPT_STR, "") // whitespace-separated list of key=value pairs describing crush location