Skip to content

libcephfs_proxy: implement support for fscrypt#64743

Merged
vshankar merged 1 commit intoceph:mainfrom
xhernandez:ll-fscrypt
Feb 10, 2026
Merged

libcephfs_proxy: implement support for fscrypt#64743
vshankar merged 1 commit intoceph:mainfrom
xhernandez:ll-fscrypt

Conversation

@xhernandez
Copy link
Contributor

Depends on #61137

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

@github-actions
Copy link

This pull request can no longer be automatically merged: a rebase is needed and changes have to be manually resolved


ceph fs subvolume earmark rm <vol_name> <subvol_name> [--group_name <subvol_group_name>]

Getting enctag of a subvolume
Copy link
Contributor

Choose a reason for hiding this comment

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

Should there be some article here?

Suggested change
Getting enctag of a subvolume
Getting the enctag of a subvolume


ceph fs subvolume enctag get <vol_name> <subvol_name> [--group_name <subvol_group_name>]

Setting enctag of a subvolume
Copy link
Contributor

Choose a reason for hiding this comment

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

ditto

Suggested change
Setting enctag of a subvolume
Setting the enctag of a subvolume


ceph fs subvolume enctag set <vol_name> <subvol_name> [--group_name <subvol_group_name>] <enctag>

Removing enctag of a subvolume
Copy link
Contributor

Choose a reason for hiding this comment

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

ditto

Suggested change
Removing enctag of a subvolume
Removing the enctag of a subvolume

.. note:: Setting ``--casesensitive=0`` option implicitly enables
unicode normalization on the subvolume.

A separate encryption tag is available for use with encryption. This is to be used tagging the subvolume, with
Copy link
Contributor

Choose a reason for hiding this comment

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

I'm not sure but I feel like this could use a "for" or something else and skip the comma, like:

Suggested change
A separate encryption tag is available for use with encryption. This is to be used tagging the subvolume, with
A separate encryption tag is available for use with encryption. This is to be used for tagging the subvolume with

@github-actions
Copy link

github-actions bot commented Sep 9, 2025

This pull request can no longer be automatically merged: a rebase is needed and changes have to be manually resolved

@phlogistonjohn
Copy link
Contributor

jenkins test make check

@github-actions
Copy link

github-actions bot commented Jan 5, 2026

This pull request has been automatically marked as stale because it has not had any activity for 60 days. It will be closed if no further activity occurs for another 30 days.
If you are a maintainer or core committer, please follow-up on this pull request to identify what steps should be taken by the author to move this proposed change forward.
If you are the author of this pull request, thank you for your proposed contribution. If you believe this change is still appropriate, please ensure that any feedback has been addressed and ask for a code review.

@github-actions github-actions bot added the stale label Jan 5, 2026
@ceph-jenkins
Copy link
Collaborator

Can one of the admins verify this patch?

@vshankar
Copy link
Contributor

vshankar commented Jan 5, 2026

@xhernandez - any reason this is still a draft version?

@github-actions github-actions bot removed the stale label Jan 5, 2026
@xhernandez
Copy link
Contributor Author

@xhernandez - any reason this is still a draft version?

Probably not, but I need to double check it. I'm on sick leave now. I expect to be back next week and I'll update this PR.

Signed-off-by: Xavi Hernandez <xhernandez@gmail.com>
@xhernandez xhernandez marked this pull request as ready for review January 13, 2026 17:34
@xhernandez
Copy link
Contributor Author

jenkins test api

@xhernandez
Copy link
Contributor Author

jenkins test dashboard cephadm

Copy link
Contributor

@anoopcs9 anoopcs9 left a comment

Choose a reason for hiding this comment

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

lgtm.

@anoopcs9
Copy link
Contributor

jenkins test api

@phlogistonjohn
Copy link
Contributor

I built a ceph image with this patch and the smb mgr module patches layered on that and deployed it on a test cluster.
I verified that I was able to access an encrypted subvolume with both the proxy disabled as well as enabled.

@vshankar
Copy link
Contributor

vshankar commented Feb 9, 2026

jenkins test api

@vshankar
Copy link
Contributor

vshankar commented Feb 9, 2026

jenkins test dashboard

@vshankar vshankar merged commit 6393ffa into ceph:main Feb 10, 2026
13 of 14 checks passed
@xhernandez xhernandez deleted the ll-fscrypt branch February 10, 2026 07:19
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.

6 participants