[Devel] [PATCH] target/iscsi: add an ability to set io limits for iscsi targets

2018-03-13 Thread Andrei Vagin
This patch add an ability to set a blkio cgroup for an iscsi target. When a new client is connected, the kernel creates two kernel threads and run all io requests from them, this means that we can set a blkio group for these threads and set io limits via this group. Here is an exampe how this wor

Re: [Devel] [PATCH] target/iscsi: add an ability to set io limits for iscsi targets

2018-03-14 Thread Vasily Averin
See small comment below On 2018-03-14 01:48, Andrei Vagin wrote: > This patch add an ability to set a blkio cgroup for an iscsi target. > > When a new client is connected, the kernel creates two kernel threads and > run all io requests from them, this means that we can set a blkio group > for the

Re: [Devel] [PATCH] target/iscsi: add an ability to set io limits for iscsi targets

2018-03-21 Thread Andrei Vagin
On Wed, Mar 14, 2018 at 11:01:43AM +0300, Vasily Averin wrote: > See small comment below > > On 2018-03-14 01:48, Andrei Vagin wrote: > > This patch add an ability to set a blkio cgroup for an iscsi target. > > > > When a new client is connected, the kernel creates two kernel threads and > > run