diff options
| author | Trond Myklebust <trond.myklebust@hammerspace.com> | 2026-01-02 16:01:06 -0500 |
|---|---|---|
| committer | Trond Myklebust <trond.myklebust@hammerspace.com> | 2026-01-07 12:28:26 -0500 |
| commit | 001945a777ec4de8610f646397a054c62d272c2d (patch) | |
| tree | f8b229fcd6fe40c05472d0bc42d8071e37a6a3c1 /include | |
| parent | df56ddd057424d21483bd0bee4da3632706d6606 (diff) | |
NFS/localio: Stop further I/O upon hitting an error
If the call into the filesystem results in an I/O error, then the next
chunk of data won't be contiguous with the end of the last successful
chunk. So break out of the I/O loop and report the results.
Currently the localio code will do this for a short read/write, but not
for an error.
Fixes: 6a218b9c3183 ("nfs/localio: do not issue misaligned DIO out-of-order")
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Reviewed-by: Mike Snitzer <snitzer@kernel.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
