Project

General

Profile

Actions

Bug #38636

closed

Inline data compatibly check in Locker::issue_caps is buggy

Added by Zheng Yan about 5 years ago. Updated about 5 years ago.

Status:
Duplicate
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
% Done:

0%

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

Description

    Session *session = mds->get_session(it->first);
    if (in->inode.inline_data.version != CEPH_INLINE_NONE &&
        !(session &&
          session->get_connection() &&
          session->get_connection()->has_feature(CEPH_FEATURE_MDS_INLINE_DATA)))
      allowed &= ~(CEPH_CAP_FILE_RD | CEPH_CAP_FILE_WR);

Session->get_connection() can be null for imported session. No idea how to fix this (luminous, mimic also need fix) unless obsolete inline data feature


Related issues 1 (0 open1 closed)

Is duplicate of CephFS - Bug #38652: mds|kclient: MDS_CLIENT_LATE_RELEASE warning caused by inline bug on RHEL 7.5ResolvedZheng Yan

Actions
Actions #1

Updated by Patrick Donnelly about 5 years ago

  • Status changed from New to Duplicate
Actions #2

Updated by Patrick Donnelly about 5 years ago

  • Is duplicate of Bug #38652: mds|kclient: MDS_CLIENT_LATE_RELEASE warning caused by inline bug on RHEL 7.5 added
Actions #3

Updated by Zheng Yan about 5 years ago

  • Pull request ID set to 26881
Actions

Also available in: Atom PDF