[LU-11527] sanity test_270a failed with O_DIRECT on ARM Created: 16/Oct/18 Updated: 13/Nov/18 Resolved: 13/Nov/18 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | Lustre 2.12.0 |
| Type: | Bug | Priority: | Major |
| Reporter: | Mikhail Pershin | Assignee: | Hongchao Zhang |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | DoM2, arm | ||
| Issue Links: |
|
||||||||||||||||
| Severity: | 3 | ||||||||||||||||
| Rank (Obsolete): | 9223372036854775807 | ||||||||||||||||
| Description |
|
The issue was reported by John Hammond, in test 270a the writing to the DOM file may fail with -ENOSPC due to grants most probably. If test 270a is being ran in a loop then the first several times it passes but all the other times seem to fail. |
| Comments |
| Comment by Hongchao Zhang [ 26/Oct/18 ] |
|
this issue does not only exist at DoM, it is the same behavior on OST. there is no error (ran 200 times in a loop) after deleting the "oflag direct" in test 270a of sanity.th |
| Comment by Mikhail Pershin [ 27/Oct/18 ] |
|
So in context of this ticket I propose to modify test and remove 'oflag direct' which is not so needed. As for general issue with DIRECT IO vs grants I'd first ask around is there any ticket about that. |
| Comment by Gerrit Updater [ 09/Nov/18 ] |
|
Andreas Dilger (adilger@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/33633 |
| Comment by Andreas Dilger [ 09/Nov/18 ] |
|
The above patch fixes the problem with O_DIRECT writes in test_270a for ARM, since it needs O_DIRECT to be aligned with PAGE_SIZE=64KB. There is a separate problem with O_DIRECT and grant usage, which is being addressed by patch https://review.whamcloud.com/9454 " |
| Comment by Gerrit Updater [ 13/Nov/18 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/33633/ |
| Comment by Peter Jones [ 13/Nov/18 ] |
|
Landed for 2.12 |