On Wed, Mar 02, 2016 at 06:07:13PM +0100, Christoph Hellwig wrote: > Driver private request types should not get the artifical cap for the > FS requests. This is important to use the full device capabilities > for internal command or NVMe pass through commands. > > Signed-off-by: Christoph Hellwig <hch@xxxxxx> > Reported-by: Jeff Lien <Jeff.Lien@xxxxxxxx> > Tested-by: Jeff Lien <Jeff.Lien@xxxxxxxx> > --- Looks good if we can depend on the enum order. Maybe a more explicit 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. Reviewed-by: Keith Busch <keith.busch@xxxxxxxxx> -- To unsubscribe from this list: send the line "unsubscribe linux-block" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html