summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/gecko.py
diff options
context:
space:
mode:
authorBenjamin Coddington <bcodding@redhat.com>2023-12-06 16:10:22 +0300
committerAnna Schumaker <Anna.Schumaker@Netapp.com>2024-01-04 18:47:56 +0300
commitb4d4fd60f884e75d52bf9254bc56b3ea41ea2686 (patch)
tree51f192fe26163d8dec0d9cd402ba9462bdbdd1ac /tools/perf/scripts/python/gecko.py
parentd76c769c8db4c321aa4d697e810e0ed0b30bcc91 (diff)
downloadlinux-b4d4fd60f884e75d52bf9254bc56b3ea41ea2686.tar.xz
NFSv4: Always ask for type with READDIR
Again we have claimed regressions for walking a directory tree, this time with the "find" utility which always tries to optimize away asking for any attributes until it has a complete list of entries. This behavior makes the readdir plus heuristic do the wrong thing, which causes a storm of GETATTRs to determine each entry's type in order to continue the walk. For v4 add the type attribute to each READDIR request to include it no matter the heuristic. This allows a simple `find` command to proceed quickly through a directory tree. Suggested-by: Jeff Layton <jlayton@kernel.org> Signed-off-by: Benjamin Coddington <bcodding@redhat.com> Reviewed-by: Jeff Layton <jlayton@kernel.org> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to 'tools/perf/scripts/python/gecko.py')
0 files changed, 0 insertions, 0 deletions