Project

General

Profile

Tasks #42085

qa: create tests for new recover_session=clean option

Added by Jeff Layton 5 months ago. Updated 4 months ago.

Status:
Fix Under Review
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?)

History

#1 Updated by Patrick Donnelly 5 months ago

  • Tracker changed from Subtask to Tasks
  • Project changed from Linux kernel client to fs
  • 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.

#2 Updated by Patrick Donnelly 5 months ago

  • Assignee set to Jeff Layton

#3 Updated by Jeff Layton 5 months ago

  • Assignee changed from Jeff Layton to Rishabh Dave

#4 Updated by Zheng Yan 4 months ago

  • Assignee changed from Rishabh Dave to Zheng Yan

#5 Updated by Patrick Donnelly 4 months ago

  • Status changed from New to In Progress

#6 Updated by Zheng Yan 4 months ago

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

Also available in: Atom PDF