Project

General

Profile

Actions

Feature #24465

closed

client: allow client to leave state intact on MDS when tearing down objects

Added by Jeff Layton almost 6 years ago. Updated almost 6 years ago.

Status:
Resolved
Priority:
High
Assignee:
Category:
-
Target version:
% Done:

0%

Source:
Development
Tags:
Backport:
Reviewed:
Affected Versions:
Component(FS):
Client, libcephfs
Labels (FS):
task(medium)
Pull request ID:

Description

When ganesha shuts down cleanly, it'll tear down all of its filehandle objects and release the files that it has open. This is problematic in a clustered configuration where we want the MDS to leave state intact while a host is being migrated.

We could just leak this state, but that means working with something like asan is more difficult.

Allow the client to tear down its state without communicating with the MDS. The MDS should just see the client as dropping offline, but the client should be able to release its state cleanly.

Actions

Also available in: Atom PDF