Hi, I have a question about this commit https://github.com/ceph/ceph/pull/5521/commits/0f11ec237d4692d313a038ed61aa07a3f40555ba#diff-bf87beacb5e3b3ff3ade7ac4a8332d20 which introduce "fuse_disable_pagecache" option commit description is "In ceph-fuse case, there are two caches, one is in ceph-fuse, another one is in kernel. We can't disable/enable the kernel cache dynamically. So adding an config option to completely disable kernel cache." and - if (cfuse->client->cct->_conf->fuse_use_invalidate_cb) - fi->keep_cache = 1; +#if FUSE_VERSION >= FUSE_MAKE_VERSION(2, 8) + if (cfuse->client->cct->_conf->fuse_disable_pagecache) + fi->direct_io = 1; + else if (cfuse->client->cct->_conf->fuse_use_invalidate_cb) + fi->keep_cache = 1; +#endif So, does it disable both caches ? (fuse cache(keep_cache=0) and host cache (direct_io=1). Isn't it possible to have direct_io = 0 and keep_cache = 1 at the same time ? If I understand, fuse_use_invalidate_cb is to be able to invalidate fuse cache. Regards, Alexandre. -- To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html