Skip to content

qa/cephfs: add test for concurrent readdir and rename from multiple clients#61338

Closed
vshankar wants to merge 1 commit intoceph:mainfrom
vshankar:wip-69440
Closed

qa/cephfs: add test for concurrent readdir and rename from multiple clients#61338
vshankar wants to merge 1 commit intoceph:mainfrom
vshankar:wip-69440

Conversation

@vshankar
Copy link
Contributor

Partially-Fixes: http://tracker.ceph.com/issues/69440

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
  • jenkins retest this please
  • jenkins test classic perf
  • jenkins test crimson perf
  • jenkins test signed
  • jenkins test make check
  • jenkins test make check arm64
  • jenkins test submodules
  • jenkins test dashboard
  • jenkins test dashboard cephadm
  • jenkins test api
  • jenkins test docs
  • jenkins render docs
  • jenkins test ceph-volume all
  • jenkins test ceph-volume tox
  • jenkins test windows
  • jenkins test rook e2e

@vshankar vshankar added the cephfs Ceph File System label Jan 13, 2025
@vshankar vshankar requested a review from a team January 13, 2025 05:18
@github-actions github-actions bot added the tests label Jan 13, 2025
@vshankar
Copy link
Contributor Author

jenkins test make check

@vshankar
Copy link
Contributor Author

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

Copy link
Contributor Author

@vshankar vshankar left a comment

Choose a reason for hiding this comment

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

@vshankar
Copy link
Contributor Author

vshankar commented Mar 4, 2025

jenkins test make check

@vshankar
Copy link
Contributor Author

vshankar commented Mar 4, 2025

jenkins test make check arm64


while true ;
do
for i in file0 file1 file2 file3 file4 file5 file6 file7 file8 file9
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
for i in file0 file1 file2 file3 file4 file5 file6 file7 file8 file9
for i in file{0..9}

Copy link
Contributor Author

Choose a reason for hiding this comment

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

That's a valid suggestion, but, this reproducer is basically copied from a (downstream) report 🤷

/usr/bin/mv -f ./dir0/new1/$i ./dir0/new2/
done

for i in file0 file1 file2 file3 file4 file5 file6 file7 file8 file9
Copy link
Contributor

Choose a reason for hiding this comment

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

@vshankar
Copy link
Contributor Author

jenkins test make check

@vshankar
Copy link
Contributor Author

jenkins test make check arm64

@vshankar
Copy link
Contributor Author

No changes -- rebased and updated.

@vshankar
Copy link
Contributor Author

jenkins retest this please

@vshankar
Copy link
Contributor Author

vshankar commented Apr 7, 2025

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

@vshankar
Copy link
Contributor Author

jenkins retest this please

@vshankar
Copy link
Contributor Author

…lients

There are some reports of a possible bug in the MDS and/or the kernel
driver, which is trigerred via concurrent readdir and rename operations
on a directory from multiple clients resulting in the rename operation
getting blocked due to the kernel driver not responding to capability
revoke operation by the MDS (for the Fs cap). It is currently not known
as in which kernel versions are effected, but the reproducer involved
a LTS kernel (5.14) with latest Quincy (17.2.x).

qa/cephfs does not test with LTS kernels, so till that infrastructure
is built and available for running tests, introduce a test involving
concurrent readdir and rename operations from multiple clients running
testing kernel.

Partially-Fixes: http://tracker.ceph.com/issues/69440
Signed-off-by: Venky Shankar <vshankar@redhat.com>
@github-actions
Copy link

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 Jun 15, 2025
@github-actions
Copy link

This pull request has been automatically closed because there has been no activity for 90 days. Please feel free to reopen this pull request (or open a new one) if the proposed change is still appropriate. Thank you for your contribution!

@github-actions github-actions bot closed this Jul 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cephfs Ceph File System stale tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants