[Bugs] [Bug 1431908] New: Enabling parallel-readdir causes dht linkto files to be visible on the mount ,

bugzilla at redhat.com bugzilla at redhat.com
Tue Mar 14 01:05:33 UTC 2017


https://bugzilla.redhat.com/show_bug.cgi?id=1431908

            Bug ID: 1431908
           Summary: Enabling parallel-readdir causes dht linkto files to
                    be visible on the mount,
           Product: GlusterFS
           Version: mainline
         Component: unclassified
          Assignee: bugs at gluster.org
          Reporter: ravishankar at redhat.com
                CC: bugs at gluster.org



Description of problem:
When parallel readdir is enabled, readdir-ahead is loaded below DHT and does a
readdir and fetches entries without any associated dict with it and caches it.
Consequently readdirp from dht is served from this cache and the
check_is_linkfile() fails in dht_readdirp_cbk() thereby not filtering it.

Version-Release number of selected component (if applicable):
master, 3.10

How reproducible:
Always

Steps to Reproduce:
1. Create a dist volume, fuse mount it, create  a file
2. Rename the file so that it hashes to a different brick, creating a linkto
file
3. Enable performance,parallel-readdir
4. Do ls from the mount ,it will show both the file and the T file

Actual results:
As above

Expected results:
Should not display the linkto file.

-- 
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