Project

General

Profile

Actions

Feature #17854

closed

mds: only evict an unresponsive client when another client wants its caps

Added by John Spray over 7 years ago. Updated over 4 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Administration/Usability
Target version:
% Done:

0%

Source:
Development
Tags:
Backport:
nautilus,mimic
Reviewed:
Affected Versions:
Component(FS):
MDS
Labels (FS):
task(intern)
Pull request ID:

Description

Instead of immediately evicting a client when it has not responded within the timeout, set a flag to mark the client as laggy. Then in Locker, when another client tries to do something that would be blocked by the laggy client, evict the laggy client.

Test this by having two clients, accessing separate directories. Have client A go unresponsive, and see that it is not evicted while client B continues to do work in its own directory. Then, have Client B try and touch the files in client A's directory, and see that client A gets evicted at that point.


Related issues 2 (0 open2 closed)

Copied to CephFS - Backport #40899: mimic: mds: only evict an unresponsive client when another client wants its capsResolvedNathan CutlerActions
Copied to CephFS - Backport #40900: nautilus: mds: only evict an unresponsive client when another client wants its capsResolvedNathan CutlerActions
Actions

Also available in: Atom PDF