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

Christoph Hellwig
2015-06-21T10:08:12Z

> +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.