Skip to content

pybind/mgr/volumes: make casesensitive attr uniform in interface - #62904

Merged
batrick merged 3 commits into
ceph:mainfrom
batrick:i70996
Apr 29, 2025
Merged

batrick merged 3 commits into
ceph:mainfrom
batrick:i70996

Conversation

@batrick

@batrick batrick commented Apr 21, 2025 •

Copy link
Copy Markdown
Member

based on #62872

Contribution Guidelines

  • To sign and title your commits, please refer to Submitting Patches to Ceph.

  • If you are submitting a fix for a stable branch (e.g. "quincy"), please refer to Submitting Patches to Ceph - Backports for the proper workflow.

  • When filling out the below checklist, you may click boxes directly in the GitHub web UI. When entering or editing the entire PR message in the GitHub web UI editor, you may also select a checklist item by adding an x between the brackets: [x]. Spaces and capitalization matter when checking off items this way.

Checklist

  • Tracker (select at least one)
    • References tracker ticket
    • Very recent bug; references commit where it was introduced
    • New feature (ticket optional)
    • Doc update (no ticket needed)
    • Code cleanup (no ticket needed)
  • Component impact
    • Affects Dashboard, opened tracker ticket
    • Affects Orchestrator, opened tracker ticket
    • No impact that needs to be tracked
  • Documentation (select at least one)
    • Updates relevant documentation
    • No doc update is appropriate
  • Tests (select at least one)
Show available Jenkins commands

@batrick

batrick commented Apr 21, 2025

Copy link
Copy Markdown
Member Author

cc @xhernandez

@batrick

batrick commented Apr 21, 2025

Copy link
Copy Markdown
Member Author

jenkins test api

@batrick

batrick commented Apr 21, 2025

Copy link
Copy Markdown
Member Author

@xhernandez

Copy link
Copy Markdown
Contributor

I think that using --case-insensitive flag is more intuitive and clean, but I won't oppose if you prefer this change.

@batrick

batrick commented Apr 23, 2025

Copy link
Copy Markdown
Member Author

I think that using --case-insensitive flag is more intuitive and clean, but I won't oppose if you prefer this change.

In some ways it's tidier but here's why:

  • The inconsistency in the naming was flagged by QE as confusing and inconsistent. It's hard to disagree.
  • The user/admin/operator has to be extra clear that this is what they want: --casesensitive=0. Simply doing --casesensitive (IIRC from my testing) will have no effect. Since usually we want a case-sensitive file system, that seems like a more reasonable default.
  • The change in naming created a bug from the start (pybind/mgr/volumes: fix typo in casesensitive vxattr #62872) which is usually why we don't do unnecessarily name changes to begin with. (Believe me, there's plenty of names for things I disagree with but grudgingly accept.)

@batrick

batrick commented Apr 23, 2025

Copy link
Copy Markdown
Member Author

jenkins test make check arm64

1 similar comment
@batrick

batrick commented Apr 25, 2025

Copy link
Copy Markdown
Member Author

jenkins test make check arm64

@batrick

batrick commented Apr 26, 2025

Copy link
Copy Markdown
Member Author

jenkins test make check

1 similar comment
@batrick

batrick commented Apr 26, 2025

Copy link
Copy Markdown
Member Author

jenkins test make check

Comment thread qa/tasks/cephfs/test_volumes.py Resolved

@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.

LGTM

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