Actions
Tasks #42085
closedqa: create tests for new recover_session=clean option
% Done:
0%
Tags:
Reviewed:
Affected Versions:
Description
Add new tests in ceph/qa to test the new recover_session=clean mount option in kcephfs, and set them up to run in teuthology. To start:
- mount fs using kcephfs and recover_session=clean
- open some file descriptors and do activity with them
- blacklist client
- perform new operations and wait for it to "clean" the state
At a minimum, I think we'd want to test these operations on fds that were open before blacklisting:
- reading from an fd open before blacklist
- writing to an fd that was open before blacklist
- set filelock on fd, and attempt to read/write to it after being blacklisted (should return -EIO)
- write data before the blacklisting and attempt to fsync afterward (should work, I guess?)
Updated by Patrick Donnelly over 4 years ago
- Tracker changed from Subtask to Tasks
- Project changed from Linux kernel client to CephFS
- Subject changed from create tests for new recover_session=clean option to qa: create tests for new recover_session=clean option
- Priority changed from Normal to Urgent
- Target version set to v15.0.0
- Start date deleted (
09/27/2019) - Component(FS) kceph, qa-suite added
Note that this can only be run against the testing kernel.
Updated by Jeff Layton over 4 years ago
- Assignee changed from Jeff Layton to Rishabh Dave
Updated by Zheng Yan over 4 years ago
- Assignee changed from Rishabh Dave to Zheng Yan
Updated by Patrick Donnelly over 4 years ago
- Status changed from New to In Progress
Updated by Zheng Yan over 4 years ago
- Status changed from In Progress to Fix Under Review
- Pull request ID set to 31200
Updated by Patrick Donnelly about 4 years ago
- Status changed from Fix Under Review to Resolved
Actions