Project

General

Profile

Bug #50090

client: only check pool permissions for regular files

Added by Xiubo Li 21 days ago. Updated 15 days ago.

Status:
Pending Backport
Priority:
Normal
Assignee:
Category:
Performance/Resource Usage
Target version:
% Done:

0%

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

Description

There is no need to do a check_pool_perm() on anything that isn't
a regular file, as the MDS is what handles talking to the OSD in
those cases. Just return 0 if it's not a regular file.


Related issues

Copied to CephFS - Backport #50179: nautilus: client: only check pool permissions for regular files In Progress
Copied to CephFS - Backport #50180: pacific: client: only check pool permissions for regular files In Progress
Copied to CephFS - Backport #50181: octopus: client: only check pool permissions for regular files In Progress

History

#1 Updated by Xiubo Li 21 days ago

  • Pull request ID set to 40460

#2 Updated by Patrick Donnelly 15 days ago

  • Status changed from Fix Under Review to Pending Backport
  • Target version set to v17.0.0
  • Source set to Development
  • Backport set to pacific,octopus,nautilus
  • Component(FS) Client added
  • Component(FS) deleted (libcephfs)

#3 Updated by Backport Bot 15 days ago

  • Copied to Backport #50179: nautilus: client: only check pool permissions for regular files added

#4 Updated by Backport Bot 15 days ago

  • Copied to Backport #50180: pacific: client: only check pool permissions for regular files added

#5 Updated by Backport Bot 15 days ago

  • Copied to Backport #50181: octopus: client: only check pool permissions for regular files added

Also available in: Atom PDF