Skip to content

libcephfs_proxy: implement support for fscrypt - #64743

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

vshankar merged 1 commit into
ceph:mainfrom
xhernandez:ll-fscrypt

Conversation

@xhernandez

Copy link
Copy Markdown
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
Copy Markdown

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

Comment thread doc/cephfs/fs-volumes.rst
@@ -611,6 +616,33 @@ Use a command of the following form to remove the earmark of a subvolume:

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

Getting enctag of a subvolume

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.

Should there be some article here?

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

Comment thread doc/cephfs/fs-volumes.rst

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

Setting enctag of a subvolume

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.

ditto

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

Comment thread doc/cephfs/fs-volumes.rst

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

Removing enctag of a subvolume

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.

ditto

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

Comment thread doc/cephfs/fs-volumes.rst Outdated
@@ -351,6 +351,10 @@ file. The case of the file name used when the file was created is preserved.
.. 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
Copy Markdown
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

github-actions Bot commented Sep 9, 2025

Copy link
Copy Markdown

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

@phlogistonjohn

Copy link
Copy Markdown
Contributor

jenkins test make check

@github-actions

github-actions Bot commented Jan 5, 2026

Copy link
Copy Markdown

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
Copy Markdown
Collaborator

Can one of the admins verify this patch?

@vshankar

vshankar commented Jan 5, 2026

Copy link
Copy Markdown
Contributor

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

@github-actions github-actions Bot removed the stale label Jan 5, 2026
@xhernandez

Copy link
Copy Markdown
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.

@xhernandez
xhernandez marked this pull request as ready for review January 13, 2026 17:34
@xhernandez

Copy link
Copy Markdown
Contributor Author

jenkins test api

@xhernandez

Copy link
Copy Markdown
Contributor Author

jenkins test dashboard cephadm

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

@anoopcs9

Copy link
Copy Markdown
Contributor

jenkins test api

@phlogistonjohn

Copy link
Copy Markdown
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

vshankar commented Feb 9, 2026

Copy link
Copy Markdown
Contributor

jenkins test api

@vshankar

vshankar commented Feb 9, 2026

Copy link
Copy Markdown
Contributor

jenkins test dashboard

@vshankar
vshankar merged commit 6393ffa into ceph:main Feb 10, 2026
@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