[Devel] [PATCH rh7] ve/net/core: allow to call setsockopt(SO_RCVBUFFORCE) from Containers

2020-11-05 Thread Konstantin Khorenko
"nft" util (in CentOS 8 environment) does use setsockopt(SO_RCVBUFFORCE) unconditionally, so we have to allow it from inside a Container. At the same time we don't want to allow a Container to set too much memory for a socket, so just threat SO_RCVBUFFORCE like SO_RCVBUF if called inside a Contain

Re: [Devel] [PATCH rh7] ve/net/core: allow to call setsockopt(SO_RCVBUFFORCE) from Containers

2020-11-05 Thread Konstantin Khorenko
On 11/05/2020 06:20 PM, Konstantin Khorenko wrote: "nft" util (in CentOS 8 environment) does use setsockopt(SO_RCVBUFFORCE) unconditionally, so we have to allow it from inside a Container. At the same time we don't want to allow a Container to set too much memory for a socket, so just threat SO_

[Devel] [PATCH vz8 1/2] ext4: add generic uevent infrastructure

2020-11-05 Thread Andrey Ryabinin
From: Dmitry Monakhov *Purpose: It is reasonable to annaunce fs related events via uevent infrastructure. This patch implement only ext4'th part, but IMHO this should be usefull for any generic filesystem. Example: Runtime fs-error is pure async event. Currently there is no good way to handle th

[Devel] [PATCH vz8 2/2] ext4: send abort uevent on ext4 journal abort

2020-11-05 Thread Andrey Ryabinin
From: Dmitry Monakhov Currenlty error from device result in ext4_abort, but uevent not generated because ext4_abort() caller's context do not allow GFP_KERNEL memory allocation. Let's relax submission context requirement and deffer actual uevent submission to work_queue. It can be any workqueue