https://tracker.ceph.com/https://tracker.ceph.com/favicon.ico2018-04-09T20:09:07ZCeph CephFS - Feature #17854: mds: only evict an unresponsive client when another client wants its capshttps://tracker.ceph.com/issues/17854?journal_id=1106512018-04-09T20:09:07ZPatrick Donnellypdonnell@redhat.com
<ul><li><strong>Subject</strong> changed from <i>Only evict an unresponsive client when another client wants its caps</i> to <i>mds: only evict an unresponsive client when another client wants its caps</i></li><li><strong>Target version</strong> changed from <i>v12.0.0</i> to <i>v14.0.0</i></li><li><strong>Source</strong> changed from <i>other</i> to <i>Development</i></li><li><strong>Tags</strong> set to <i>intern</i></li><li><strong>Component(FS)</strong> <i>MDS</i> added</li></ul> CephFS - Feature #17854: mds: only evict an unresponsive client when another client wants its capshttps://tracker.ceph.com/issues/17854?journal_id=1118542018-04-25T19:39:15ZRishabh Dave
<ul></ul><p>I am planning to start working on this feature. How can I get a client to be unresponsive without evicting it?</p> CephFS - Feature #17854: mds: only evict an unresponsive client when another client wants its capshttps://tracker.ceph.com/issues/17854?journal_id=1118642018-04-25T21:08:37ZPatrick Donnellypdonnell@redhat.com
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>In Progress</i></li><li><strong>Assignee</strong> set to <i>Rishabh Dave</i></li><li><strong>Tags</strong> deleted (<del><i>intern</i></del>)</li><li><strong>Labels (FS)</strong> <i>task(intern)</i> added</li></ul> CephFS - Feature #17854: mds: only evict an unresponsive client when another client wants its capshttps://tracker.ceph.com/issues/17854?journal_id=1118862018-04-26T01:26:52ZZheng Yanukernel@gmail.com
<ul></ul><p>Rishabh Dave wrote:</p>
<blockquote>
<p>I am planning to start working on this feature. How can I get a client to be unresponsive without evicting it?</p>
</blockquote>
<p>check Server::find_idle_sessions(). the function checks if clients have renewed their sessions recently. A client is unresponsive if it hasn't renewed its session for session_timeout seconds. Once found unresponsive client, you can check Locker::revoking_caps_by_client to find if mds wants to revoke caps from the unresponsive client.</p> CephFS - Feature #17854: mds: only evict an unresponsive client when another client wants its capshttps://tracker.ceph.com/issues/17854?journal_id=1154222018-06-20T17:10:52ZPatrick Donnellypdonnell@redhat.com
<ul><li><strong>Status</strong> changed from <i>In Progress</i> to <i>Fix Under Review</i></li></ul> CephFS - Feature #17854: mds: only evict an unresponsive client when another client wants its capshttps://tracker.ceph.com/issues/17854?journal_id=1175152018-07-23T08:12:06ZRishabh Dave
<ul></ul><p>Unresponsive/stale clients do not hold any caps<sup><a href="#fn1">1</a></sup>. Therefore, deferring their eviction would mean keeping them infinitely. Instead, Zheng suggested to avoid marking open sessions holding no caps stale and evict them directly at session_autoclose<sup><a href="#fn1">1</a></sup>.</p>
<p>[1] <a class="external" href="https://github.com/ceph/ceph/pull/22645#discussion_r197319784">https://github.com/ceph/ceph/pull/22645#discussion_r197319784</a></p> CephFS - Feature #17854: mds: only evict an unresponsive client when another client wants its capshttps://tracker.ceph.com/issues/17854?journal_id=1309372019-03-07T23:21:04ZPatrick Donnellypdonnell@redhat.com
<ul><li><strong>Target version</strong> changed from <i>v14.0.0</i> to <i>v15.0.0</i></li></ul> CephFS - Feature #17854: mds: only evict an unresponsive client when another client wants its capshttps://tracker.ceph.com/issues/17854?journal_id=1310462019-03-07T23:25:11ZPatrick Donnellypdonnell@redhat.com
<ul><li><strong>Start date</strong> deleted (<del><i>11/10/2016</i></del>)</li><li><strong>Pull request ID</strong> set to <i>22645</i></li></ul> CephFS - Feature #17854: mds: only evict an unresponsive client when another client wants its capshttps://tracker.ceph.com/issues/17854?journal_id=1412352019-07-22T23:25:38ZPatrick Donnellypdonnell@redhat.com
<ul><li><strong>Status</strong> changed from <i>Fix Under Review</i> to <i>Pending Backport</i></li><li><strong>Backport</strong> set to <i>nautilus,mimic</i></li></ul> CephFS - Feature #17854: mds: only evict an unresponsive client when another client wants its capshttps://tracker.ceph.com/issues/17854?journal_id=1413222019-07-23T08:28:50ZNathan Cutlerncutler@suse.cz
<ul><li><strong>Copied to</strong> <i><a class="issue tracker-9 status-3 priority-4 priority-default closed" href="/issues/40899">Backport #40899</a>: mimic: mds: only evict an unresponsive client when another client wants its caps</i> added</li></ul> CephFS - Feature #17854: mds: only evict an unresponsive client when another client wants its capshttps://tracker.ceph.com/issues/17854?journal_id=1413242019-07-23T08:28:57ZNathan Cutlerncutler@suse.cz
<ul><li><strong>Copied to</strong> <i><a class="issue tracker-9 status-3 priority-4 priority-default closed" href="/issues/40900">Backport #40900</a>: nautilus: mds: only evict an unresponsive client when another client wants its caps</i> added</li></ul> CephFS - Feature #17854: mds: only evict an unresponsive client when another client wants its capshttps://tracker.ceph.com/issues/17854?journal_id=1484482019-10-11T10:10:21ZNathan Cutlerncutler@suse.cz
<ul><li><strong>Status</strong> changed from <i>Pending Backport</i> to <i>Resolved</i></li></ul><p>While running with --resolve-parent, the script "backport-create-issue" noticed that all backports of this issue are in status "Resolved" or "Rejected".</p>