Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mds: do not raise "client failing to respond to cap release" when client working set is reasonable #36501

Merged
merged 5 commits into from
Aug 7, 2020

Conversation

batrick
Copy link
Member

@batrick batrick commented Aug 6, 2020

Checklist

  • References tracker ticket
  • Updates documentation if necessary
  • Includes tests for new functionality or reproducer for bug

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 api
  • jenkins test docs
  • jenkins render docs
  • jenkins test ceph-volume all
  • jenkins test ceph-volume tox

To make this easier to catch. It is still a RuntimeError so it should
not affect current tests by default.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
@batrick
Copy link
Member Author

batrick commented Aug 6, 2020

Fixed some tox errors.

batrick added a commit to batrick/ceph that referenced this pull request Aug 6, 2020
* refs/pull/36501/head:
	qa: add tests for mds_min_caps_working_set
	mds: add working set minimum for caps
	qa: use config_set/config_get
	qa: do not append file names to dirname
	qa: add exception for test timeouts

Reviewed-by: Douglas Fuller <dfuller@redhat.com>
batrick added a commit to batrick/ceph that referenced this pull request Aug 7, 2020
* refs/pull/36501/head:
	qa: add tests for mds_min_caps_working_set
	mds: add working set minimum for caps
	qa: use config_set/config_get
	qa: do not append file names to dirname
	qa: add exception for test timeouts

Reviewed-by: Douglas Fuller <dfuller@redhat.com>
Otherwise the files generated are not actually under the sub-directory!
This is correcting a confusing aspect of the test infrastructure but
doesn't actually require any changes to the tests.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
It's simpler and does not require MDS restarts.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
A client may hold many inodes pinned in its cache for open files. That
client may be unable to release those caps to respond to cache pressure
from the MDS (or quiescent client cap recall). We should not complain if
that number of capabilities is reasonable (< 10k by default).

Fixes: https://tracker.ceph.com/issues/46830
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
@batrick
Copy link
Member Author

batrick commented Aug 7, 2020

@batrick
Copy link
Member Author

batrick commented Aug 7, 2020

fs suite run has nothing new except some upgrade test failures (which are known to recently occur).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cephfs Ceph File System needs-review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants