Skip to content

Commit

Permalink
DAOS-14364 dfuse: Enable faster reading from data cache with dfuse. (d…
Browse files Browse the repository at this point in the history
…aos-stack#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.

Signed-off-by: Ashley Pittman [email protected]
Signed-off-by: shiying <[email protected]>
  • Loading branch information
ashleypittman authored and yyyshi committed Nov 22, 2023
1 parent 291204d commit bd12af1
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 @@ -689,7 +689,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 bd12af1

Please sign in to comment.