Re: [PATCH 12/15] libnvdimm: enable iostat

From: Dan Williams
Date: Fri Jun 19 2015 - 05:02:53 EST


On Fri, Jun 19, 2015 at 1:34 AM, Christoph Hellwig <hch@xxxxxx> wrote:
> On Wed, Jun 17, 2015 at 07:55:51PM -0400, Dan Williams wrote:
>> This is disabled by default as the overhead is prohibitive, but if the
>> user takes the action to turn it on we'll oblige.
>
> If you care about users a compile time selection doesn't make sense,
> why not always build it but require an opt-in?

It's always built the Kconfig just selects the default initial state
of QUEUE_FLAG_IO_STAT. They can always turn it on/off via block queue
sysfs.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/