[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190329065809.GA3908@kroah.com>
Date: Fri, 29 Mar 2019 07:58:09 +0100
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: Marek Behun <marek.behun@....cz>
Cc: Tejun Heo <tj@...nel.org>, linux-kernel@...r.kernel.org,
Pavel Machek <pavel@....cz>,
Jacek Anaszewski <jacek.anaszewski@...il.com>
Subject: Re: kernfs: can read/write method grow buffer size?
On Fri, Mar 29, 2019 at 07:51:07AM +0100, Marek Behun wrote:
> > If this is just for kernfs, and you have your own filesystem, sure, we
> > can probably do something here. But if this is for sysfs, no, you all
> > need to keep to the "one value per file" rule that we have there
> > please.
>
> Greg, the file satisfies the "one value per file" rule. That value is
> the currently selected trigger. Writing a trigger name changes this
> value. It is just that reading also prints all the supported triggers.
"all supported triggers" is not a "single value" :)
Powered by blists - more mailing lists