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

bugzilla at redhat.com bugzilla at redhat.com
Sun Mar 26 02:22:54 UTC 2017


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

            Bug ID: 1435942
           Summary: Enabling parallel-readdir causes dht linkto files to
                    be visible on the mount,
           Product: GlusterFS
           Version: 3.10
         Component: unclassified
          Keywords: Triaged
          Assignee: bugs at gluster.org
          Reporter: pgurusid at redhat.com
                CC: bugs at gluster.org, ravishankar at redhat.com,
                    redhatbugzilla at ashetic.net
        Depends On: 1431908



+++ This bug was initially created as a clone of Bug #1431908 +++

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.

--- Additional comment from Ravishankar N on 2017-03-13 21:07:39 EDT ---

Reported by a user at
http://lists.gluster.org/pipermail/gluster-users/2017-March/030254.html

--- Additional comment from Worker Ant on 2017-03-15 01:39:54 EDT ---

REVIEW: https://review.gluster.org/16902 (dht: The xattrs sent in readdirp
should be sent in opendir aswell) posted (#1) for review on master by Poornima
G (pgurusid at redhat.com)

--- Additional comment from Worker Ant on 2017-03-15 03:02:25 EDT ---

REVIEW: https://review.gluster.org/16902 (dht: The xattrs sent in readdirp
should be sent in opendir aswell) posted (#2) for review on master by Poornima
G (pgurusid at redhat.com)


Referenced Bugs:

https://bugzilla.redhat.com/show_bug.cgi?id=1431908
[Bug 1431908] Enabling parallel-readdir causes dht linkto files to be
visible on the mount,
-- 
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