[PATCH 4/5] block: fix blk_rq_get_max_sectors for driver private requests

Jens Axboe axboe at fb.com
Wed Mar 2 14:16:18 PST 2016


On 03/02/2016 02:18 PM, Christoph Hellwig wrote:
> On Wed, Mar 02, 2016 at 07:17:05PM +0000, Keith Busch wrote:
>> check for the one type that does support checking chunk sectors instead:
>>
>> 	if (unlikely(rq->cmd_type != REQ_TYPE_FS))
>>
>> But it looks fine as-is, too.
>
> Yes, that's probably better in the long run.  Jens, can you fold the
> suggestion from Keith into the patch?

Too late to fold, but I fixed it separately.

-- 
Jens Axboe




More information about the Linux-nvme mailing list