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
On debugging, I am seeing that the read-call issued by the program is not coming to the mount at all. Even if I disable md-cache it doesn't happen.
If I make the following change, the test passes(File size tests, fail though), but I am not sure why fuse is not sending reads for files with 0 size, maybe some kind of optimisation.
pk@glusterfs-fedora-41:~/glusterfs$ git diff
diff --git a/tests/features/mandatory-lock-forced.c b/tests/features/mandatory-lock-forced.c
index 4028d6c6ea..60bd8ba2bc 100644
--- a/tests/features/mandatory-lock-forced.c
+++ b/tests/features/mandatory-lock-forced.c
@@ -76,6 +76,7 @@ main(int argc, char *argv[])
fd = open(fname, O_CREAT | O_RDWR, 0755);
if (fd == -1)
LOG_ERR("Parent create", errno);
+ err = write(fd, buf, 10);
/* Determine the type of lock */
if (strcmp(argv[1], "RD_LCK") == 0)
The text was updated successfully, but these errors were encountered: