[PATCHv4] blk: Replace SG_GAPGS with new queue limits mask
Martin K. Petersen
martin.petersen at oracle.com
Tue Aug 4 18:45:54 PDT 2015
>>>>> "Keith" == Keith Busch <keith.busch at intel.com> writes:
Keith> The SG_GAPS queue flag caused checks for bio vector alignment
Keith> against PAGE_SIZE, but the device may have different
Keith> constraints. This patch adds a queue limits so a driver with such
Keith> constraints can set to allow requests that would have been
Keith> unnecessarily split. The new gaps check takes the request_queue
Keith> as a parameter to simplify the logic around invoking this
Keith> function.
Keith> This new limit makes the queue flag redundant, so removing it and
Keith> all usage. Device-mappers will inherit the correct settings
Keith> through blk_stack_limits().
This looks good to me except for the typo in the Subject: line.
Reviewed-by: Martin K. Petersen <martin.petersen at oracle.com>
--
Martin K. Petersen Oracle Linux Engineering
More information about the Linux-nvme
mailing list