Project

General

Profile

Bug #40283

qa: add testing for lazyio

Added by Patrick Donnelly 2 months ago. Updated about 2 months ago.

Status:
In Progress
Priority:
High
Category:
-
Target version:
Start date:
Due date:
% Done:

0%

Source:
Development
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
libcephfs, qa-suite
Labels (FS):
qa
Pull request ID:

Description

I'm distressed we have no tests for client behavior (via libcephfs) with lazyio. : /

In particular, verify behavior with two libcephfs instances that it works as expected. In particular, this sequence would be a good first step:

- open two libcephfs instances
- open same file lazyio on both clients
- [client a] write some data, lazyio_propagate/fsync
- [client b] overwrite some data, lazio_propagate/fsync
- [client a] verify with a read that the data has not changed (its cache is stale)
- [client a] lazyio_synchronize
- [client a] verify client b's writes are visible


Related issues

Related to fs - Bug #40284: kclient: evaluate/fix/add lazio support in the kernel New

History

#1 Updated by Patrick Donnelly 2 months ago

  • Related to Bug #40284: kclient: evaluate/fix/add lazio support in the kernel added

#2 Updated by Patrick Donnelly 2 months ago

  • Assignee set to Siddharth Sharma

#3 Updated by Patrick Donnelly 2 months ago

  • Assignee changed from Siddharth Sharma to Sidharth Anupkrishnan

Wrong Sidharth, sorry!

#4 Updated by Sidharth Anupkrishnan about 2 months ago

  • Status changed from New to In Progress
  • Pull request ID set to 28834

Also available in: Atom PDF