Project

General

Profile

Backport #41865

nautilus: mds: ask idle client to trim more caps

Added by Nathan Cutler 8 months ago. Updated 17 days ago.

Status:
Resolved
Priority:
Normal
Assignee:
Target version:
Release:
nautilus
Crash signature:


Related issues

Related to fs - Backport #41899: nautilus: mds: cache drop command does not drive cap recall Resolved
Copied from fs - Feature #22446: mds: ask idle client to trim more caps Resolved

History

#1 Updated by Nathan Cutler 8 months ago

  • Copied from Feature #22446: mds: ask idle client to trim more caps added

#2 Updated by Patrick Donnelly 8 months ago

  • Related to Backport #41899: nautilus: mds: cache drop command does not drive cap recall added

#4 Updated by Nathan Cutler 8 months ago

  • Description updated (diff)
  • Status changed from New to In Progress
  • Assignee set to Nathan Cutler

#5 Updated by Nathan Cutler 8 months ago

  • Description updated (diff)
  • Status changed from In Progress to New
  • Assignee deleted (Nathan Cutler)

first attempted backport, https://github.com/ceph/ceph/pull/30750, was closed because it was incomplete

#6 Updated by Nathan Cutler 7 months ago

  • Description updated (diff)
  • Status changed from New to In Progress
  • Assignee set to Nathan Cutler

Updated automatically by ceph-backport.sh version 15.0.0.6113

#7 Updated by Nathan Cutler 7 months ago

  • Description updated (diff)

#8 Updated by Yuri Weinstein 5 months ago

Nathan Cutler wrote:

https://github.com/ceph/ceph/pull/30761

merged

#9 Updated by Nathan Cutler 4 months ago

  • Status changed from In Progress to Resolved
  • Target version set to v14.2.7

This update was made using the script "backport-resolve-issue".
backport PR https://github.com/ceph/ceph/pull/30761
merge commit 916eec9f1f8de019587be48afcdc841245e9526f (v14.2.6-139-g916eec9f1f8)

#10 Updated by Patrick Donnelly 18 days ago

  • Target version changed from v14.2.7 to v14.2.8

This is actually in v14.2.8:

$ git log v14.2.7..68e2be7ea659004224012a5dd13e7215fe57bfff -1
commit 68e2be7ea659004224012a5dd13e7215fe57bfff
Author: Patrick Donnelly <pdonnell@redhat.com>
Date:   Mon Aug 26 14:39:30 2019 -0700

    mds: recall caps from quiescent sessions

    This introduces two new config options [1,2] that dictate when a session
    is considered quiescent by the MDS. (Options are documented fully in
    options.cc.) When a session is quiescent, the MDS will preemptively
    recall caps to reduce the outstanding capabilities which optimizes for
    reducing work during failover.

    [1] mds_session_cache_liveness_magnitude
    [2] mds_session_cache_liveness_decay_rate

    Fixes: https://tracker.ceph.com/issues/22446
    Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
    (cherry picked from commit 740f6f99a1d23e281059725b6478c91e91b1c67c)

Nathan, is this a bug in your script?

#11 Updated by Nathan Cutler 17 days ago

Nathan, is this a bug in your script?

When a hotfix release like 14.2.7 is done, a bunch of backport trackers that have already been processed by backport-resolve-issue will suddenly have the wrong "Target Version". Not sure if this can convincingly be called a bug in the script. I'd say this outcome is expected (however unfortunate and regrettable it might be) given the nature of the script and the nature of the hotfix release process.

Also available in: Atom PDF