Commit 2e332c2
Alexey Izbyshev
gh-102184: Test os.sync() only if "largefile" resource is enabled
Calling `os.sync()` when the Linux page cache is large and full of dirty
pages and the storage device is slow can block the process in
"uninterruptible sleep" state for minutes, making the test run
unkillable even with SIGKILL. Avoid this by testing `os.sync()` only if
"largefile" resource is enabled.1 parent 5b9573e commit 2e332c2
2 files changed
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
69 | | - | |
| 69 | + | |
70 | 70 | | |
| 71 | + | |
| 72 | + | |
71 | 73 | | |
72 | 74 | | |
73 | 75 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
0 commit comments