Pawel Jakub Dawidek 681ff708cf From fts.c comment:
The "FTS_NOSTAT" option can avoid a lot of calls to stat(2) if it knows that a
directory could not possibly have subdirectories. This is decided by looking at
the link count: a subdirectory would increment its parent's link count by
virtue of its own ".." entry.  This assumption only holds for UFS-like
filesystems that implement links and directories this way, so we must punt for
others.

It looks like ZFS is a UFS-like file system, as the above also holds for ZFS.
Add ZFS to the list of file systems that allow for such optimization.

MFC after:	1 month
2011-03-16 08:58:09 +00:00
..
2008-10-22 21:56:57 +00:00
2010-01-31 14:51:04 +00:00
2011-03-03 11:28:57 +00:00
2009-12-05 18:55:16 +00:00
2011-03-16 08:58:09 +00:00
2011-03-16 08:58:09 +00:00
2009-11-25 04:45:45 +00:00
2009-11-25 04:45:45 +00:00
2011-02-19 11:44:04 +00:00
2009-03-04 01:01:26 +00:00
2009-03-04 01:01:26 +00:00
2010-03-21 20:45:06 +00:00
2009-11-02 12:35:38 +00:00
2008-10-23 15:32:06 +00:00
2011-02-04 16:40:50 +00:00
2010-02-02 19:44:51 +00:00
2010-01-20 11:59:46 +00:00
2008-03-13 10:25:30 +00:00
2011-02-04 16:40:50 +00:00
2009-05-07 13:49:48 +00:00
2010-01-24 14:44:05 +00:00
2010-01-17 15:43:14 +00:00
2009-11-25 04:45:45 +00:00