Re: kernfs: can read/write method grow buffer size?

From: Marek Behun
Date: Fri Mar 29 2019 - 02:51:11 EST


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