diff options
| author | Andreas Gruenbacher <agruenba@redhat.com> | 2021-07-23 02:59:41 +0300 |
|---|---|---|
| committer | Andreas Gruenbacher <agruenba@redhat.com> | 2021-10-24 16:26:05 +0300 |
| commit | 97308f8b0d867e9ef59528cd97f0db55ffdf5651 (patch) | |
| tree | ddf419571b6bf50ea98c445d822627b24a5fbb0b /drivers/gpu/drm/amd/amdgpu/amdgpu_encoders.c | |
| parent | 42c498c18a94eed79896c50871889af52fa0822e (diff) | |
| download | linux-97308f8b0d867e9ef59528cd97f0db55ffdf5651.tar.xz | |
iomap: Support partial direct I/O on user copy failures
In iomap_dio_rw, when iomap_apply returns an -EFAULT error and the
IOMAP_DIO_PARTIAL flag is set, complete the request synchronously and
return a partial result. This allows the caller to deal with the page
fault and retry the remainder of the request.
Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_encoders.c')
0 files changed, 0 insertions, 0 deletions
