diff options
| author | Keith Busch <[email protected]> | 2015-08-19 21:24:05 +0000 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2015-08-19 21:26:02 +0000 |
| commit | 03100aada96f0645bbcb89aea24c01f02d0ef1fa (patch) | |
| tree | ba909d035a188206b101ae633f925e18d749f7cc /drivers/gpu/drm/amd/amdgpu | |
| parent | block: bump BLK_DEF_MAX_SECTORS to 2560 (diff) | |
| download | kernel-03100aada96f0645bbcb89aea24c01f02d0ef1fa.tar.gz kernel-03100aada96f0645bbcb89aea24c01f02d0ef1fa.zip | |
block: Replace SG_GAPS with new queue limits mask
The SG_GAPS queue flag caused checks for bio vector alignment against
PAGE_SIZE, but the device may have different constraints. This patch
adds a queue limits so a driver with such constraints can set to allow
requests that would have been unnecessarily split. The new gaps check
takes the request_queue as a parameter to simplify the logic around
invoking this function.
This new limit makes the queue flag redundant, so removing it and
all usage. Device-mappers will inherit the correct settings through
blk_stack_limits().
Signed-off-by: Keith Busch <[email protected]>
Reviewed-by: Martin K. Petersen <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu')
0 files changed, 0 insertions, 0 deletions
