Matt Benjamin has uploaded this change for review. (
https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/507249 )
Change subject: FSAL_RGW: allow readdir() to continue past damaged objects
......................................................................
FSAL_RGW: allow readdir() to continue past damaged objects
The current FSAL_RGW readdir loop performs a lookup on each
object returned from enumeration, as expected, but stops
enumeration if any lookup fails.
In order to avoid truncated listings in the presence of (e.g.)
a damaged bucket or leaf object, log a warning in the failed
lookup case, but do not terminate the readdir.
Change-Id: Iaf07b6853a3d81ba150d241089f45605ec88920a
Signed-off-by: Matt Benjamin <mbenjamin(a)redhat.com>
---
M src/FSAL/FSAL_RGW/handle.c
1 file changed, 9 insertions(+), 2 deletions(-)
git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/49/507249/1
--
To view, visit
https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/507249
To unsubscribe, or for help writing mail filters, visit
https://review.gerrithub.io/settings
Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-Change-Id: Iaf07b6853a3d81ba150d241089f45605ec88920a
Gerrit-Change-Number: 507249
Gerrit-PatchSet: 1
Gerrit-Owner: Matt Benjamin <mbenjamin(a)redhat.com>
Gerrit-MessageType: newchange