Adding dev list. Jeff, is it okay to remove dir_chunk=0 for the cephfs case? sage On Tue, May 25, 2021 at 7:43 AM Daniel Gryniewicz <dang@redhat.com> wrote:
I think dir_chunk=0 should never be used, even for cephfs. It's not intended to be used in general, only for special circumstances (an out-of-tree FSAL asked for it, and we use it upstream for debugging readdir), and it may go away in a future version of Ganesha.
The rest is probably okay for both of them. However, this raises some issues. Some settings, such as dir_chunk=0, Attr_Expiration_Time=0, and only_numeric_onwers=true are global to Ganesha. This means that, if CephFS and RGW need different global settings, they'd have to run in different instances of Ganesha. Is this something we're interested in?
Daniel
On 5/25/21 8:11 AM, Sebastian Wagner wrote:
Moving this to upstream, as this is an upstream issue.
Hi Mike, hi Sage,
Do we need to rethink how we deploy ganesha daemons? Looks like we need different ganesha.conf templates for cephfs and rgw.
- Sebastian
Am 25.05.21 um 13:59 schrieb Matt Benjamin:
Hi Sebastian,
1. yes, I think we should use different templates 2. MDCACHE { dir_chunk = 0; } is fatal for RGW NFS--it seems suited to avoid double caching of vnodes in the cephfs driver, but simply cannot be used with RGW 3. RGW has some other preferences--for example, some environments might prefer only_numeric_owners = true; Sage is already working on extending cephadm to generate exports differently, which should allow for multiple tenants
Matt
On Tue, May 25, 2021 at 7:39 AM Sebastian Wagner <sewagner@redhat.com> wrote:
Hi Matt,
This is the ganesha.conf template that we use for both cephfs and rgw:
https://github.com/ceph/ceph/blob/master/src/pybind/mgr/cephadm/templates/se...
I have the slight impression that we might need to different templates for rgw and cephfs?
Best, Sebastian
...snip...