Skip to content

Commit

Permalink
Try and solve patchelf problem.
Browse files Browse the repository at this point in the history
Test-tag: DaosBuild
Skip-fault-injection-test: true

Signed-off-by: Ashley Pittman <[email protected]>
  • Loading branch information
ashleypittman committed Nov 14, 2024
1 parent 46a565b commit f4fa810
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
4 changes: 3 additions & 1 deletion site_scons/prereq_tools/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,9 @@ def run_commands(self, commands, subdir=None, env=None):
retval = True
else:
print(f"RUN: {' '.join(cmd)}")
if subprocess.call(cmd, shell=False, cwd=subdir, env=passed_env['ENV']) != 0:
rc = subprocess.call(cmd, shell=False, cwd=subdir, env=passed_env['ENV'])
if rc != 0:
print(f"Command failed with {rc}")
retval = False
break
return retval
Expand Down
6 changes: 6 additions & 0 deletions src/client/dfuse/ops/read.c
Original file line number Diff line number Diff line change
Expand Up @@ -332,6 +332,12 @@ chunk_read(fuse_req_t req, size_t len, off_t position, struct dfuse_obj_hdl *oh)
bool rcb;
bool all_done = true;

if (ie->ie_dfs->dfc_data_timeout == 0)
return false;

if (!atomic_load_relaxed(&oh->doh_ie->ip_open_write_count) != 0)
return false;

if (len != K128)
return false;

Expand Down

0 comments on commit f4fa810

Please sign in to comment.