freebsd-skq/sys/fs/cd9660
kib 7d33ec3750 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
..
cd9660_bmap.c
cd9660_iconv.c
cd9660_lookup.c
cd9660_mount.h
cd9660_node.c
cd9660_node.h
cd9660_rrip.c
cd9660_rrip.h cd9660 pointer sign issues and missing __packed attribute 2018-08-15 06:42:31 +00:00
cd9660_util.c
cd9660_vfsops.c
cd9660_vnops.c Add d_off support for multiple filesystems. 2018-11-14 14:18:35 +00:00
iso_rrip.h
iso.h cd9660 pointer sign issues and missing __packed attribute 2018-08-15 06:42:31 +00:00
TODO
TODO.hibler