bug-findutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #24140] Painfully slow find(1) in list-permission-only AFS paths


From: James Youngman
Subject: [bug #24140] Painfully slow find(1) in list-permission-only AFS paths
Date: Mon, 01 Sep 2008 16:16:39 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US; rv:1.9) Gecko/2008051202 Firefox/3.0

Follow-up Comment #8, bug #24140 (project findutils):

On the basis of an earlier conversation with Jeffrey Hutzelman, I would
assume that on systems where AFS is available (i.e. AFS libraries were
detected at configure time) we can use a pioctl() call to check whether we're
inside an AFS volume each time we observe a change in st_dev.

Such an approach would be quite efficient since a pioctl call could occur a
maximum of N*M times, where N is the number of mounted filesystems and M is
the number of start-points listed on find's command line.   Even the O(N*M)
figure should be reducible to O(N) with the use of a cache.



    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?24140>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]