freebsd-src/share
Konstantin Belousov 1c4ca77890 Add d_off support for multiple filesystems.
The d_off field has been added to the dirent structure recently.
Currently filesystems don't support this feature.  Support has been
added and tested for zfs, ufs, ext2fs, fdescfs, msdosfs and unionfs.
A stub implementation is available for cd9660, nandfs, udf and
pseudofs but hasn't been tested.

Motivation for this feature: our usecase is for a userspace nfs server
(nfs-ganesha) with zfs.  At the moment we cache direntry offsets by
calling lseek once per entry, with this patch we can get the offset
directly from getdirentries(2) calls which provides a significant
speedup.

Submitted by:	Jack Halford <jack@gandi.net>
Reviewed by:	mckusick, pfg, rmacklem (previous versions)
Sponsored by:	Gandi.net
MFC after:	1 week
Differential revision:	https://reviews.freebsd.org/D17917
2018-11-14 14:18:35 +00:00
..
colldef Update to CLDR 34 and UNICODE 11. 2018-11-03 22:02:10 +00:00
ctypedef Add hybrid C.UTF-8 locale being identical to default C locale except 2018-11-04 22:13:22 +00:00
dict Sync with NetBSD's /usr/share/dict/words, with the exception of quim 2017-12-16 20:25:50 +00:00
doc Update several more URLs 2017-10-29 08:17:03 +00:00
dtrace Introduce dwatch(1) as a tool for making DTrace more useful 2018-03-06 23:44:19 +00:00
examples Fix jail examples in jib, jng, README 2018-10-28 18:32:47 +00:00
i18n share: normalize paths using SRCTOP-relative paths or :H when possible 2017-03-04 11:26:40 +00:00
keys
man Add d_off support for multiple filesystems. 2018-11-14 14:18:35 +00:00
misc Add myself to mentees with sbruno as mentor 2018-10-22 14:01:34 +00:00
mk retire LINKER_FEATURES filter flag 2018-11-12 20:44:22 +00:00
monetdef Update to CLDR 34 and UNICODE 11. 2018-11-03 22:02:10 +00:00
msgdef Update to CLDR 32 and Unicode 10 2017-11-03 13:52:34 +00:00
numericdef Update to CLDR 34 and UNICODE 11. 2018-11-03 22:02:10 +00:00
security
sendmail share: normalize paths using SRCTOP-relative paths or :H when possible 2017-03-04 11:26:40 +00:00
skel Switch the default pager for most commands to less 2018-08-08 19:24:20 +00:00
snmp
syscons Don't use CCACHE for linking. 2018-06-27 19:29:15 +00:00
tabset
termcap Simplify using bsd.endian.mk and have it provide CAP_MKDB_ENDIAN, since it is 2018-06-28 13:48:59 +00:00
tests
timedef Use blank am_pm and t_fmt_ampm for de_AT and de_DE locales as apparently 2018-11-11 13:41:32 +00:00
vt Add some tom-thumb vt font glyphs 2018-10-21 00:35:54 +00:00
zoneinfo We don't actually need env here, so drop it. All shells allow setting 2018-02-09 15:50:32 +00:00
Makefile Convert traditional ${MK_TESTS} conditional idiom for including test 2017-08-02 08:35:51 +00:00
Makefile.inc