Re: LXC broken with 5.10-stable?, ok with 5.9-stable (Re: Linux 5.10.3)

From: Linus Torvalds
Date: Sun Dec 27 2020 - 18:17:10 EST


On Sun, Dec 27, 2020 at 1:25 PM Al Viro <viro@xxxxxxxxxxxxxxxxxx> wrote:
>
>
> Is there any point in not doing the same (scripted, obviously) for
> all instances with .read == seq_read? IIRC, Christoph even posted
> something along those lines, but it went nowhere for some reason...

I'd rather limit splice (and kernel_read too, for that matter) as much
as possible. It was a mistake originally to allow it everywhere, and
it's come back to bite us.

So I'd rather have people notice these odd corner cases and get them
fixed one by one than just say "anything goes".

There's hopefully not any actually left anyway...

Linus