Skip to content

Commit

Permalink
DAOS-14364 dfuse: Enable faster reading from data cache with dfuse. (#…
Browse files Browse the repository at this point in the history
…13053)

Allow metadata caching even when the file is open. This was
initially disabled due to conflicts with the interception library
however dfuse now tracks interception library use so it's possible
to only disable when the interception library is in-use rather than
all the time.

Required-githooks: true

Change-Id: Ida03a854030f6b9ded24c5465e0f1126fcba310e
Signed-off-by: Ashley Pittman ashley.m.pittman@intel.com
  • Loading branch information
ashleypittman authored and jolivier23 committed Feb 28, 2024
1 parent 86e39da commit 8d4faa7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/client/dfuse/dfuse.h
Original file line number Diff line number Diff line change
Expand Up @@ -559,7 +559,7 @@ struct fuse_lowlevel_ops dfuse_ops;
do { \
int __rc; \
double timeout = 0; \
if (atomic_load_relaxed(&(ie)->ie_open_count) == 0) { \
if (atomic_load_relaxed(&(ie)->ie_il_count) == 0) { \
timeout = (ie)->ie_dfs->dfc_attr_timeout; \
dfuse_mcache_set_time(ie); \
} \
Expand Down

0 comments on commit 8d4faa7

Please sign in to comment.