Project

General

Profile

Actions

Tasks #42085

closed

qa: create tests for new recover_session=clean option

Added by Jeff Layton over 4 years ago. Updated about 4 years ago.

Status:
Resolved
Priority:
Urgent
Assignee:
Category:
-
Target version:
% Done:

0%

Tags:
Reviewed:
Affected Versions:
Component(FS):
kceph, qa-suite
Labels (FS):
Pull request ID:

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:

  1. mount fs using kcephfs and recover_session=clean
  2. open some file descriptors and do activity with them
  3. blacklist client
  4. 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:

  1. reading from an fd open before blacklist
  2. writing to an fd that was open before blacklist
  3. set filelock on fd, and attempt to read/write to it after being blacklisted (should return -EIO)
  4. write data before the blacklisting and attempt to fsync afterward (should work, I guess?)
Actions #1

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.

Actions #2

Updated by Patrick Donnelly over 4 years ago

  • Assignee set to Jeff Layton
Actions #3

Updated by Jeff Layton over 4 years ago

  • Assignee changed from Jeff Layton to Rishabh Dave
Actions #4

Updated by Zheng Yan over 4 years ago

  • Assignee changed from Rishabh Dave to Zheng Yan
Actions #5

Updated by Patrick Donnelly over 4 years ago

  • Status changed from New to In Progress
Actions #6

Updated by Zheng Yan over 4 years ago

  • Status changed from In Progress to Fix Under Review
  • Pull request ID set to 31200
Actions #7

Updated by Patrick Donnelly about 4 years ago

  • Status changed from Fix Under Review to Resolved
Actions

Also available in: Atom PDF