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

Marek Behun
2019-03-29T06:51:11Z

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