mirror of
https://github.com/ceph/ceph
synced 2025-02-22 18:47:18 +00:00
Merge pull request #30389 from batrick/i41835
mds: drive cap recall while dropping cache
This commit is contained in:
commit
ecb2ab2f7e
@ -329,7 +329,8 @@ private:
|
||||
auto duration = std::chrono::duration<double>(now-recall_start).count();
|
||||
|
||||
MDSGatherBuilder *gather = new MDSGatherBuilder(g_ceph_context);
|
||||
auto [throttled, count] = server->recall_client_state(gather, Server::RecallFlags::STEADY);
|
||||
auto flags = Server::RecallFlags::STEADY|Server::RecallFlags::TRIM;
|
||||
auto [throttled, count] = server->recall_client_state(gather, flags);
|
||||
dout(10) << __func__
|
||||
<< (throttled ? " (throttled)" : "")
|
||||
<< " recalled " << count << " caps" << dendl;
|
||||
|
Loading…
Reference in New Issue
Block a user