Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 Nov 2018 14:16:17 +0100
From:      Jack Halford <jack@gandi.net>
To:        freebsd-fs@freebsd.org
Cc:        fatih@gandi.net
Subject:   d_off support
Message-ID:  <20181109131617.pm26wjv4eg6fqdvl@thinkpad-gandi>

next in thread | raw e-mail | index | archive | help

Hello all,

	With the new 'd_off' field in struct dirent, we've (gandi.net) pushed a patch[1] to add support for it in multiple filesystems. Our specific 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 the patch we can get the offset directly from getdirentries calls which provides a significant speedup.

[1]: https://reviews.freebsd.org/D17917



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20181109131617.pm26wjv4eg6fqdvl>