Actions
Bug #40283
closedqa: add testing for lazyio
% 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
Actions