Skip to content

squid: mds: Implement remove for ceph vxattrs - #60752

Merged
mchangir merged 5 commits into
ceph:squidfrom
chrisphoffman:wip-68942-squid
Jan 3, 2025
Merged

mchangir merged 5 commits into
ceph:squidfrom
chrisphoffman:wip-68942-squid

Conversation

@chrisphoffman

Copy link
Copy Markdown
Contributor

For a variety of ceph xattrs, the setfattr remove
isn't handled and "No such attribute" is returned.

Add support to remove xattrs to match where docs
say to clear value, one can remove or set to X value.
When removing, add "default" value back to xattr depending
on xattr name.

Simplify current code to make clearer and minimize code reuse.

Fixes: https://tracker.ceph.com/issues/62793
Signed-off-by: Christopher Hoffman <[email protected]>
(cherry picked from commit 1f0a099)
Signed-off-by: Christopher Hoffman <[email protected]>
(cherry picked from commit 26a352a)
Add tests to validate default and remove xattr behaviors.

Signed-off-by: Christopher Hoffman <[email protected]>
(cherry picked from commit 697c2fc)
…vxattrs

Signed-off-by: Christopher Hoffman <[email protected]>
(cherry picked from commit 7d3da6e)
Signed-off-by: Christopher Hoffman <[email protected]>
(cherry picked from commit f5fe6a5)
@chrisphoffman
chrisphoffman requested a review from a team as a code owner November 15, 2024 14:58
@chrisphoffman chrisphoffman added this to the squid milestone Nov 15, 2024
@chrisphoffman chrisphoffman added the cephfs Ceph File System label Nov 15, 2024
@vshankar

Copy link
Copy Markdown
Contributor

@mchangir

mchangir commented Jan 2, 2025

Copy link
Copy Markdown
Contributor

jenkins test api

@mchangir

mchangir commented Jan 2, 2025

Copy link
Copy Markdown
Contributor

jenkins test make check

2 similar comments
@mchangir

mchangir commented Jan 2, 2025

Copy link
Copy Markdown
Contributor

jenkins test make check

@mchangir

mchangir commented Jan 3, 2025

Copy link
Copy Markdown
Contributor

jenkins test make check

@mchangir mchangir left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mchangir
mchangir merged commit a13a9ab into ceph:squid Jan 3, 2025
afreen23 pushed a commit to rhcs-dashboard/ceph that referenced this pull request Jul 29, 2026
squid: mds: Implement remove for ceph vxattrs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants