Actions
Bug #40101
closedlibcephfs: returns ESTALE to nfs-ganesha's FSAL_CEPH when operating on .snap directory
% Done:
0%
Source:
Community (user)
Tags:
Backport:
nautilus,mimic
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
Ganesha FSAL, cephfs.pyx, libcephfs
Labels (FS):
snapshots
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
When I make an nfs-ganesha export of a cephfs using FSAL_CEPH, the NFS client receives ESTALE when attempting to stat, ls, cd, etc a .snap directory. The developers on Freenode #nfs-ganesha informed me that ganesha does not issue ESTALE, and only passes it through. Therefore libcephfs is returning file handles to ganesha that expire, and is returning ESTALE when these handles are later used.
While NFS clients are able to access specific snapshots by known names, eg 'ls .snap/1'
works, being unable to 'ls' .snap renders this unhelpful for many use cases.
Actions