[LU-12587] DIO fallback to Buffer IO unexpectedly Created: 25/Jul/19 Updated: 21/Oct/22 |
|
| Status: | Reopened |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Minor |
| Reporter: | Wang Shilong (Inactive) | Assignee: | Patrick Farrell |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | always_except | ||
| Issue Links: |
|
||||||||||||
| Severity: | 3 | ||||||||||||
| Rank (Obsolete): | 9223372036854775807 | ||||||||||||
| Description |
|
It is possible that DirectIO might fallback to Buffer IO in some cases, but following dd if=/dev/zero of=data bs=1M count=1 |
| Comments |
| Comment by Gerrit Updater [ 25/Jul/19 ] | |||||||
|
Wang Shilong (wshilong@ddn.com) uploaded a new patch: https://review.whamcloud.com/35610 | |||||||
| Comment by Gerrit Updater [ 09/Aug/19 ] | |||||||
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/35610/ | |||||||
| Comment by Peter Jones [ 09/Aug/19 ] | |||||||
|
Landed for 2.13 | |||||||
| Comment by Patrick Farrell [ 09/May/22 ] | |||||||
|
This change introduced We will have to see if there's another way to handle this issue. It might be possible to do the flushing here (see https://review.whamcloud.com/35610/ ) inside Lustre rather than relying on the kernel to do it. eg, if we flushed pages before generic_file_direct_write:
It may just be that Lustre can't release pages in the desired manner... This will require some more investigation. | |||||||
| Comment by Andreas Dilger [ 21/Oct/22 ] | |||||||
|
sanity test_277 is being skipped on master because of |