diff options
| author | Keith Busch <[email protected]> | 2018-06-26 15:14:58 +0000 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2018-06-26 18:18:27 +0000 |
| commit | 15bfd21fbc5d35834b9ea383dc458a1f0c9e3434 (patch) | |
| tree | 7caba88b0f25237360f9cffdcf410817e65c571e /drivers/gpu/drm/amd/amdgpu/amdgpu_test.c | |
| parent | blk-mq: Fix timeout handling in case the timeout handler returns BLK_EH_DONE (diff) | |
| download | kernel-15bfd21fbc5d35834b9ea383dc458a1f0c9e3434.tar.gz kernel-15bfd21fbc5d35834b9ea383dc458a1f0c9e3434.zip | |
block: Fix transfer when chunk sectors exceeds max
A device may have boundary restrictions where the number of sectors
between boundaries exceeds its max transfer size. In this case, we need
to cap the max size to the smaller of the two limits.
Reported-by: Jitendra Bhivare <[email protected]>
Tested-by: Jitendra Bhivare <[email protected]>
Cc: <[email protected]>
Reviewed-by: Martin K. Petersen <[email protected]>
Signed-off-by: Keith Busch <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_test.c')
0 files changed, 0 insertions, 0 deletions
