Project

General

Profile

Actions

Bug #40283

closed

qa: add testing for lazyio

Added by Patrick Donnelly almost 5 years ago. Updated over 4 years ago.

Status:
Resolved
Priority:
High
Category:
-
Target version:
% Done:

0%

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

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 3 (1 open2 closed)

Related to CephFS - Bug #40284: kclient: evaluate/fix/add lazio support in the kernelNew

Actions
Copied to CephFS - Backport #42161: nautilus: qa: add testing for lazyioResolvedNathan CutlerActions
Copied to CephFS - Backport #42162: mimic: qa: add testing for lazyioRejectedPatrick DonnellyActions
Actions

Also available in: Atom PDF