[Bugs] [Bug 1478411] Directory listings on fuse mount are very slow due to small number of getdents () entries

bugzilla at redhat.com bugzilla at redhat.com
Fri Dec 29 02:03:05 UTC 2017


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

nh2 <nh2-redhatbugzilla at deditus.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
              Flags|needinfo?(csaba at redhat.com) |
                   |needinfo?(nh2-redhatbugzill |
                   |a at deditus.de)               |
                   |needinfo?(nh2-redhatbugzill |
                   |a at deditus.de)               |



--- Comment #27 from nh2 <nh2-redhatbugzilla at deditus.de> ---
Hey, just wanted to let you know that this bug seems not fixed with
glusterfs-3.12.4.

I still get getdents() calls returning only ~20 entries:

getdents(3, /* 20 entries */, 131072)   = 1040
getdents(3, /* 20 entries */, 131072)   = 1040
getdents(3, /* 20 entries */, 131072)   = 1040
getdents(3, /* 6 entries */, 131072)    = 312
getdents(3, /* 0 entries */, 131072)    = 0

The patch above also speaks of reduced CPU usage which I haven't tested yet.

I haven't tested with my kernel patch yet that allows FUSE readdir() to use
more than 1 page, will retest with that.

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