24 May 2013 22:01
[PATCH] Optimisation for readdir using fstatat.
Jeremy Allison <jra <at> samba.org>
2013-05-24 20:01:58 GMT
2013-05-24 20:01:58 GMT
Ira (and others of course, This is the complete proposed patch to improve directory performance for deep directory trees. Can you test and review +1 if you're ok with it. Cheers, Jeremy.
From a1044b693603e24c86efb5384172abb7727abd3a Mon Sep 17 00:00:00 2001 From: Jeremy Allison <jra <at> samba.org> Date: Fri, 24 May 2013 10:33:16 -0700 Subject: [PATCH 1/2] Add HAVE_DIRFD to waf/autoconf. Detect fstatat. Signed-off-by: Jeremy Allison <jra <at> samba.org> --- source3/configure.in | 6 ++++++ source3/wscript | 4 ++++ 2 files changed, 10 insertions(+) diff --git a/source3/configure.in b/source3/configure.in index 0e2f126..b7a9620 100644 --- a/source3/configure.in +++ b/source3/configure.in <at> <at> -834,9 +834,15 <at> <at> fi AC_CHECK_FUNCS(dirfd) if test x"$ac_cv_func_dirfd" = x"yes"; then(Continue reading)
,
This is the complete proposed patch to improve
directory performance for deep directory trees.
Can you test and review +1 if you're ok with it.
Cheers,
Jeremy.
RSS Feed