Project

General

Profile

Actions

Bug #64198

closed

mds: Fcb caps issued to clients when filelock is xlocked

Added by Patrick Donnelly 3 months ago. Updated 3 days ago.

Status:
Resolved
Priority:
High
Category:
-
Target version:
% Done:

0%

Source:
Development
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
MDS, quiesce
Labels (FS):
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

$ ceph tell mds.a:0 dump tree volumes/_nogroup/foo/5a67f079-8ce2-48e4-96ca-6f3fcd2e1a6b/usr/bin/systemd-sysusers
[
    {
        "ino": 1099511628842,
        "rdev": 0,
        "ctime": "2024-01-27T19:48:01.810252+0000",
        "btime": "2024-01-27T19:48:01.807682+0000",
        "mode": 33261,

...
        "filelock": {
            "gather_set": [],
            "state": "xlock",
            "type": "ifile",
            "is_leased": false,
            "num_rdlocks": 0,
            "num_wrlocks": 0,
            "num_xlocks": 1,
            "xlock_by": {
                "reqid": {
                    "entity": {
                        "type": "mds",
                        "num": 0
                    },
                    "tid": 157
                }
            }
        },
...
        "client_caps": [
            {
                "client_id": 5461,
                "pending": "pAsLsXsFcb",
                "issued": "pAsLsXsFcb",
                "wanted": "-",
                "last_sent": 3
            }
        ],
...

This is for a regular file that's quiesced via #63663. I'm not sure if this is an actual problem or not but it looks very suspicious. I would expected caps to be pAsLsXs.

Actions #1

Updated by Patrick Donnelly 3 months ago

  • Pull request ID set to 55337
Actions #2

Updated by Patrick Donnelly about 1 month ago

  • Status changed from In Progress to Resolved
  • Target version changed from v19.0.0 to v20.0.0
  • Backport deleted (reef,quincy)
Actions #3

Updated by Leonid Usov 3 days ago

  • Component(FS) quiesce added
  • Component(FS) deleted (MDS)
Actions #4

Updated by Leonid Usov 3 days ago

  • Component(FS) MDS added
Actions

Also available in: Atom PDF