[Devel] [PATCH v2 rh7 2/2] fs/aio, ve: aio_nr & aio_max_nr variables virtualization
Vladimir Davydov
vdavydov at parallels.com
Tue Aug 18 09:51:46 PDT 2015
On Tue, Aug 18, 2015 at 07:17:40PM +0300, Andrey Ryabinin wrote:
> Virtualization of kernel global aio_nr & aio_max_nr variables is required
> to isolate containers and ve0 when allocating aio request/events resources.
>
> Each ve and ve0 has own aio_nr, aio_max_nr values. Function ioctx_alloc trying
> to charge appropriate aio_nr value selected by ve context.
>
> It's not possible to exhaust aio events resources of one ve from another ve.
>
> Default per-CT aio_max_nr value == 0x10000, including CT0.
>
> https://jira.sw.ru/browse/PSBM-29017
>
> Signed-off-by: Andrey Ryabinin <aryabinin at odin.com>
Reviewed-by: Vladimir Davydov <vdavydov at parallels.com>
More information about the Devel
mailing list