[PATCH 4/5] block: fix blk_rq_get_max_sectors for driver private requests
Christoph Hellwig
hch at lst.de
Wed Mar 2 13:18:57 PST 2016
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?
More information about the Linux-nvme
mailing list