Project

General

Profile

Feature #53310

Add admin socket command to trim caps

Added by Douglas Fuller over 2 years ago. Updated over 1 year ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
% Done:

0%

Source:
Community (user)
Tags:
Backport:
Reviewed:
Affected Versions:
Component(FS):
Client, MDS
Labels (FS):
task(medium)
Pull request ID:

Description

Add an admin socket command to cause the MDS to reclaim state from a client. This would simply involve calling reclaim_client_state or even just sending CEPH_SESSION_RECALL_STATE to the indicated client.

History

#1 Updated by Venky Shankar over 2 years ago

  • Component(FS) Client, MDS added
  • Labels (FS) task(medium) added

Brief background - this request came up from some community members. They run a file system scanning job every day (?) and that causes the scanner/mover node to have caps for the entire file system.

I'm not sure what problem they ran into due to the client holding caps for the entire file system. Maybe Doug/Andras can update here.

#2 Updated by Venky Shankar over 2 years ago

Patrick mentioned about these config options:

- mds_session_cache_liveness_decay_rate
- mds_session_cache_liveness_magnitude

These control how long to wait before clients sessions are considered quiescent after which mds preemptively starts recalling caps. This functionality is available from Nautilus v14.2.8.

#3 Updated by Patrick Donnelly over 1 year ago

  • Target version deleted (v17.0.0)

Also available in: Atom PDF