Re: [PATCH] eventfs: Give files a default of PAGE_SIZE size

From: Linus Torvalds
Date: Fri Jan 26 2024 - 13:31:37 EST


On Fri, 26 Jan 2024 at 10:18, Steven Rostedt <rostedt@xxxxxxxxxxx> wrote:
>
> By following what sysfs does, and give files a default size of PAGE_SIZE,
> it allows the tar to work. No event file is greater than PAGE_SIZE.

No, please. Just don't.

Nobody has asked for this, and nobody sane should use 'tar' on tracefs anyway.

It hasn't worked before, so saying "now you can use tar" is just a
*bad* idea. There is no upside, only downsides, with tar either (a)
not working at all on older kernels or (b) complaining about how the
size isn't reliable on newer ones.

So please. You should *NOT* look at "this makes tar work, albeit badly".

You should look at whether it improves REAL LOADS. And it doesn't. All
it does is add a hack for a bad idea. Leave it alone.

Linus