From <fatih(a)gandi.net>:
fatih(a)gandi.net has uploaded this change for review. (
https://review.gerrithub.io/418825
Change subject: FSAL_VFS, FreeBSD: fix dirent caching
......................................................................
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(a)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
https://review.gerrithub.io/418825
To unsubscribe, or for help writing mail filters, visit
https://review.gerrithub.io/settings
Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-MessageType: newchange
Gerrit-Change-Id: I4dae38faf1f1544fd12602fb07537ec5b006db65
Gerrit-Change-Number: 418825
Gerrit-PatchSet: 1
Gerrit-Owner: fatih(a)gandi.net