[Bugs] [Bug 1414217] New: RFE: Add a server side stub to filter unhashed directories in readdirp
bugzilla at redhat.com
bugzilla at redhat.com
Wed Jan 18 04:38:12 UTC 2017
https://bugzilla.redhat.com/show_bug.cgi?id=1414217
Bug ID: 1414217
Summary: RFE: Add a server side stub to filter unhashed
directories in readdirp
Product: GlusterFS
Version: mainline
Component: distribute
Assignee: bugs at gluster.org
Reporter: pgurusid at redhat.com
CC: bugs at gluster.org
Description of problem:
Currently there are two variations of readdirp:
1. Directories are read from all the bricks and the client filters the
duplicate directory entries, by removing the entry if it doesn't hash to the
brick that returned the readdirp.
2. dht-readdir-optimise option on: In this case, the directory is read from
only one brick(first up subvol) and dht indicates all other bricks to filter
the directory entries(at the posix layer)
1- is less performant, while 2 has the problem that some directories can go
unlisted if they are not healed to the first up subvol. Hence to get the
performance of option 2 and reliability of option 1: we can have a dht stub on
the server side which filters the directories in readdirp if they do not hash
to that brick. This was proposed by Rghavendra Gowdappa
Version-Release number of selected component (if applicable):
How reproducible:
Steps to Reproduce:
1.
2.
3.
Actual results:
Expected results:
Additional info:
--
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