Kinglong Mee has uploaded this change for review.
FSAL_GLUSTER: fallback to lookup when entry without handle or stat
If backend glusterfs return an dir entry without handle
(glusterfs file without gfid), read_dirents return -EINVAL directly.
Steps to Reproduce:
1. touch a file at backend glusterfs;
2. ll at nfs client;
Step #2 doesnot show the new file, and user cannot remove the parent dir
from nfs client.
This patch lets readdir fallback to a lookup as the old logic
when entry without handle or stat.
Change-Id: Iccfd183cb10ffc0841a74a2b2d1dd61275455ba8
Signed-off-by: Kinglong Mee <kinglongmee@gmail.com>
---
M src/FSAL/FSAL_GLUSTER/handle.c
1 file changed, 8 insertions(+), 3 deletions(-)
git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/48/448348/1
To view, visit change 448348. To unsubscribe, or for help writing mail filters, visit settings.