[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190329075107.0b4d8c9f@nic.cz>
Date: Fri, 29 Mar 2019 07:51:07 +0100
From: Marek Behun <marek.behun@....cz>
To: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
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?
> 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.
Powered by blists - more mailing lists