fatih@gandi.net has uploaded this change for review.
FSAL_VFS, FreeBSD: fix dirent caching
getdirentries is acting differently between Linux and FreeBSD:
Linux sets basep to new offset after reading
FreeBSD sets basep to the old offset before reading
this makes caching offset calculation wrong on FreeBSD, duplicate entries are calculated
this issue triggers easily with ZFS snapshots
Change-Id: I4dae38faf1f1544fd12602fb07537ec5b006db65
Signed-off-by: Fatih Acar <fatih.acar@gandi.net>
---
M src/FSAL/FSAL_VFS/handle.c
1 file changed, 5 insertions(+), 0 deletions(-)
git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/25/418825/1
To view, visit change 418825. To unsubscribe, or for help writing mail filters, visit settings.