Skip to content

client: signal waitfor_commit waiters for write delegation enabled inode#66036

Merged
vshankar merged 1 commit intoceph:mainfrom
vshankar:wip-73624
Nov 6, 2025
Merged

client: signal waitfor_commit waiters for write delegation enabled inode#66036
vshankar merged 1 commit intoceph:mainfrom
vshankar:wip-73624

Conversation

@vshankar
Copy link
Contributor

Fixes: http://tracker.ceph.com/issues/73624

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

You must only issue one Jenkins command per-comment. Jenkins does not understand
comments with more than one command.

Fixes: http://tracker.ceph.com/issues/73624
Signed-off-by: Venky Shankar <vshankar@redhat.com>
Tested-by: Suhas Athani <sathani@redhat.com>
@vshankar vshankar requested review from a team, chrisphoffman and dparmar18 October 23, 2025 05:56
@vshankar
Copy link
Contributor Author

This PR is under test in https://tracker.ceph.com/issues/73647.

@vshankar
Copy link
Contributor Author

vshankar commented Nov 3, 2025

@vshankar
Copy link
Contributor Author

vshankar commented Nov 3, 2025

jenkins retest this please

@vshankar
Copy link
Contributor Author

vshankar commented Nov 3, 2025

@chrisphoffman @dparmar18 RFR

@vshankar
Copy link
Contributor Author

vshankar commented Nov 3, 2025

jenkins retest this please

Copy link
Contributor

@chrisphoffman chrisphoffman left a comment

Choose a reason for hiding this comment

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

I see that you changed this from being specific to fsync to inside of put_cap_ref. Are there any cases other than fsync we should create a test for when when is_write_deleted == true? For example put_cap_ref(in, CEPH_CAP_FILE_BUFFER) happens during _write and _fallocate

@vshankar
Copy link
Contributor Author

vshankar commented Nov 4, 2025

I see that you changed this from being specific to fsync to inside of put_cap_ref. Are there any cases other than fsync we should create a test for when when is_write_deleted == true? For example put_cap_ref(in, CEPH_CAP_FILE_BUFFER) happens during _write and _fallocate

Good question. IMO it does not matter for _fallocate() since _fallocate() does not drop client_lock and wait for cap_ref for Fb to drop to the lowest value (0 or 1) depending if write delegations have been handed over.

@vshankar
Copy link
Contributor Author

vshankar commented Nov 4, 2025

jenkins test api

@vshankar vshankar merged commit 9e1d3f1 into ceph:main Nov 6, 2025
13 of 14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cephfs Ceph File System

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants