Project

General

Profile

Actions

Bug #64542

open

Difference in error code returned while removing system xattrs using removexattr()

Added by Anoop C S 2 months ago. Updated 2 months ago.

Status:
Pending Backport
Priority:
Normal
Assignee:
Category:
Correctness/Safety
Target version:
% Done:

0%

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

Description

During removexattr() operation for those xattrs from "system." namespace, kernel client returns ENOTSUP in early stages whereas libcephfs allows it to pass through reporting the status accordingly as ENODATA among others. In fact it is the expectation as seen with local file systems like xfs, ext4 etc. There is also the special case with POSIX ACL xattrs where a removal attempt for 'system.posix_acl_access' or 'system.posix_acl_default' is always expected to complete successfully irrespective of whether those xattrs are present on files/directories. libcephfs fails to meet these expectations causing unexpected issues with test suites from integrations like Samba.


Related issues 3 (2 open1 closed)

Copied to CephFS - Backport #64564: quincy: Difference in error code returned while removing system xattrs using removexattr()NewVenky ShankarActions
Copied to CephFS - Backport #64565: reef: Difference in error code returned while removing system xattrs using removexattr()ResolvedVenky ShankarActions
Copied to CephFS - Backport #64566: squid: Difference in error code returned while removing system xattrs using removexattr()NewVenky ShankarActions
Actions #1

Updated by Venky Shankar 2 months ago

  • Status changed from New to Pending Backport
  • Assignee set to Anoop C S
  • Target version changed from v19.0.0 to v20.0.0
  • Backport changed from quincy, reef to quincy,reef,squid
Actions #2

Updated by Backport Bot 2 months ago

  • Copied to Backport #64564: quincy: Difference in error code returned while removing system xattrs using removexattr() added
Actions #3

Updated by Backport Bot 2 months ago

  • Copied to Backport #64565: reef: Difference in error code returned while removing system xattrs using removexattr() added
Actions #4

Updated by Backport Bot 2 months ago

  • Copied to Backport #64566: squid: Difference in error code returned while removing system xattrs using removexattr() added
Actions #5

Updated by Backport Bot 2 months ago

  • Tags set to backport_processed
Actions

Also available in: Atom PDF