]> CyberLeo.Net >> Repos - FreeBSD/releng/8.2.git/commit
MFC: r216691
authorrmacklem <rmacklem@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 29 Dec 2010 21:04:10 +0000 (21:04 +0000)
committerrmacklem <rmacklem@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 29 Dec 2010 21:04:10 +0000 (21:04 +0000)
commit34a4e9da3e3f19448105794b02150cdf97d7c40a
tree92a8daa1f0026bcdc21af94c9c7b782f3d1f8c8a
parent70f77d95fc04a3f6f8b25e4c5391342fdc485009
MFC: r216691
Since VOP_READDIR() for ZFS does not return monotonically
increasing directory offset cookies, disable the UFS related
loop that skips over directory entries at the beginning of
the block for the experimental NFS server. This loop is
required for UFS since it always returns directory entries
starting at the beginning of the block that
the requested directory offset is in. In discussion with pjd@
and mckusick@ it seems that this behaviour of UFS should maybe
change, with this fix being an interim patch until then.
This patch only fixes the experimental server, since pjd@ is
working on a patch for the regular server.

Approved by: re (kib)

git-svn-id: svn://svn.freebsd.org/base/releng/8.2@216808 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/fs/nfsserver/nfs_nfsdport.c