[Bugs] [Bug 1556972] New: client directory empty with readdir-ahead on
bugzilla at redhat.com
bugzilla at redhat.com
Thu Mar 15 16:14:33 UTC 2018
https://bugzilla.redhat.com/show_bug.cgi?id=1556972
Bug ID: 1556972
Summary: client directory empty with readdir-ahead on
Product: GlusterFS
Version: 3.13
Component: unclassified
Assignee: bugs at gluster.org
Reporter: joe at julianfamily.org
CC: bugs at gluster.org
Description of problem:
Users are experiencing empty directories at the client. If they know the name
of the dirent they're attempting to use, they still can. For instance, if I
know there's a directory, "foo", in the root of the mount, I can "cd foo" and
it will work. The result of "ls foo" may also be empty despite there being
files or directories there.
Touching a file or directory does not fix this.
There are no log entries on either the client or the brick.
Stopping and starting the volume has no effect.
To work around the issue, disable "performance.readdir-ahead" on the volume.
Version-Release number of selected component (if applicable):
Unclear. This has been happening since at least the 3.10 range and still occurs
as late as 3.13.2.
How reproducible:
seemingly random
Steps to Reproduce:
unknown
Actual results:
$ ls -l /mnt/myvol
$ cat /mnt/myvol/foo
HERE!
$ mkdir /mnt/myvol/bar
$ ls -l /mnt/myvol
$
Expected results:
$ ls -l /mnt/myvol
-rw-r--r-- 1 jjulian jjulian 6 Mar 15 09:09 /mnt/myvol/foo
$ cat /mnt/myvol/foo
HERE!
$ ls -l /mnt/myvol
drwxr-xr-x 2 jjulian jjulian 40 Mar 15 09:10 /mnt/myvol/bar
-rw-r--r-- 1 jjulian jjulian 6 Mar 15 09:09 /mnt/myvol/foo
$
--
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
More information about the Bugs
mailing list