You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a small assumption issue. unifyfs_fid_open function assumes the file must exist after an open call. But the file may be opened without "O_CREAT" flag; For example, some applications use the open call to test for file existence. In this case, we should not print out an error (line 564).
Fix: replace LOGERR to LOGDBG. I will create a PR to fix this.
@wangvsa Yes, I agree it shouldn't be treated as an error for logging purposes - LOGDBG is good. We should also change the message to remove the word "existing"
This is a small assumption issue.
unifyfs_fid_open
function assumes the file must exist after an open call. But the file may be opened without "O_CREAT" flag; For example, some applications use the open call to test for file existence. In this case, we should not print out an error (line 564).Fix: replace LOGERR to LOGDBG. I will create a PR to fix this.
UnifyFS/client/src/unifyfs_fid.c
Lines 517 to 566 in e07093f
The text was updated successfully, but these errors were encountered: