Re: [PATCH 10/15] libnvdimm: fix up max_hw_sectors

From: Christoph Hellwig
Date: Sun Jun 21 2015 - 06:08:15 EST


> +void nd_blk_queue_init(struct request_queue *q)
> +{
> + blk_queue_max_hw_sectors(q, UINT_MAX);
> + blk_queue_bounce_limit(q, BLK_BOUNCE_ANY);
> +}

Please just add the calls to the drivers instead of this helper which
hides the intent.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
Please read the FAQ at http://www.tux.org/lkml/