[LU-15459] close(2) fails with EIO on enosp Created: 18/Jan/22 Updated: 31/Jan/22 Resolved: 31/Jan/22 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | Lustre 2.15.0 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Vladimir Saveliev | Assignee: | Vladimir Saveliev |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Severity: | 3 |
| Rank (Obsolete): | 9223372036854775807 |
| Description |
|
When write switches to sync commit async due lack of disk space async error codes remain set to -28. That causes close(2) to failĀ as ll_flush() catches the async errors and returns -EIO. The async errors should be catched and cleared after call to vvp_io_commit_sync() to prevent ll_flush() and close(2) from failing. |
| Comments |
| Comment by Gerrit Updater [ 18/Jan/22 ] |
|
"Vladimir Saveliev <vlaidimir.saveliev@hpe.com>" uploaded a new patch: https://review.whamcloud.com/46178 |
| Comment by Gerrit Updater [ 31/Jan/22 ] |
|
"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/46178/ |
| Comment by Peter Jones [ 31/Jan/22 ] |
|
Landed for 2.15 |