Skip to content

Commit

Permalink
DAOS-16686 dfuse: fix style
Browse files Browse the repository at this point in the history
fix style

Run-GHA: true
Allow-unstable-test: true
Required-githooks: true
Signed-off-by: Di Wang <[email protected]>
  • Loading branch information
wangdi1 committed Dec 25, 2024
1 parent 81f5ff4 commit 9d30f9f
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion src/client/dfuse/ops/open.c
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ dfuse_cb_open(fuse_req_t req, fuse_ino_t ino, struct fuse_file_info *fi)
D_SPIN_UNLOCK(&ie->ie_active->lock);
D_GOTO(decref, rc);
}
/* Descreased in pre_read_complete_cb() */
/* Decreased in pre_read_complete_cb() */
preread = true;
atomic_fetch_add_relaxed(&ie->ie_open_count, 1);
oh->doh_readahead_inflight = 1;
Expand Down
28 changes: 14 additions & 14 deletions src/client/dfuse/ops/read.c
Original file line number Diff line number Diff line change
Expand Up @@ -235,18 +235,18 @@ check_inflight_fetch(struct active_inode *active, struct dfuse_event *ev)
#define CHUNK_SIZE (1024 * 1024)

struct read_chunk_data {
struct dfuse_event *ev;
struct dfuse_event *ev;
struct dfuse_inode_entry *ie;
fuse_req_t reqs[8];
struct dfuse_obj_hdl *ohs[8];
d_list_t list;
uint64_t bucket;
struct dfuse_eq *eqt;
int rc;
int entered;
ATOMIC int exited;
bool exiting;
bool complete;
fuse_req_t reqs[8];
struct dfuse_obj_hdl *ohs[8];
d_list_t list;
uint64_t bucket;
struct dfuse_eq *eqt;
int rc;
int entered;
ATOMIC int exited;
bool exiting;
bool complete;
};

static void
Expand Down Expand Up @@ -290,11 +290,11 @@ read_chunk_close(struct dfuse_inode_entry *ie)
static void
chunk_cb(struct dfuse_event *ev)
{
struct read_chunk_data *cd = ev->de_cd;
struct read_chunk_data *cd = ev->de_cd;
struct dfuse_inode_entry *ie = cd->ie;
struct active_inode *ia = ie->ie_active;
fuse_req_t req;
bool done = false;
fuse_req_t req;
bool done = false;

cd->rc = ev->de_ev.ev_error;

Expand Down

0 comments on commit 9d30f9f

Please sign in to comment.