ganesha: the export IDs are not reused

Bug #1839175 reported by Ramana Raja on 2019-08-06
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Manila
Medium
Unassigned

Bug Description

The ganesha library generates NFS-ganesha exports, one per CephFS share. It sets the unique export ID of an export based on the export ID counter stored in a Ceph RADOS object or in a file backed by a clustered storage
system. The library monotonically increases the export ID counter from 1001 (the first 1000 exports are reserved for non-manila use cases) and assigns the counter value as the export ID of the generated export. It does not re-use export IDs that aren't in use by the current set of exports, e.g. export IDs of exports that have been deleted by the ganesha library. Since the maximum valid export ID of NFS-ganesha server is 65535, it's possible that the export ID counter reaches the limit. The generated exports would no longer have valid export IDs, which would be greater than 65535.

Ramana Raja (rraja) on 2019-08-06
description: updated
Tom Barron (tpb) wrote :

Thanks, Ramana!

tags: added: cephfs driver ganesha
Changed in manila:
importance: Undecided → Medium
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers