Re: [PATCH] nvme: make controller 'state' sysfs attribute pollable

From: Christoph Hellwig
Date: Thu Sep 21 2017 - 10:10:39 EST


On Thu, Sep 21, 2017 at 07:19:15AM +0200, Johannes Thumshirn wrote:
> So why exposing it then in the first time?

It is a really nice debug aid, but the states really are an internal
detail of the implementation, and can (and probably will soon, see the
fc states discussion) change.

Maybe we need to move things like this to debugfs, but yet another
interface seems a little annoying.