diff --git a/site_scons/prereq_tools/base.py b/site_scons/prereq_tools/base.py index ed18cc18b76..8e847c639d8 100644 --- a/site_scons/prereq_tools/base.py +++ b/site_scons/prereq_tools/base.py @@ -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 diff --git a/src/client/dfuse/ops/read.c b/src/client/dfuse/ops/read.c index 9dd54baf318..2341b928f5e 100644 --- a/src/client/dfuse/ops/read.c +++ b/src/client/dfuse/ops/read.c @@ -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;