[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20160205174413.GA1685536@devbig084.prn1.facebook.com>
Date: Fri, 5 Feb 2016 09:44:30 -0800
From: Shaohua Li <shli@...com>
To: Tejun Heo <tj@...nel.org>
CC: <linux-kernel@...r.kernel.org>, <axboe@...nel.dk>,
<Kernel-team@...com>
Subject: Re: [PATCH] block-dev: enable writeback cgroup support
On Fri, Feb 05, 2016 at 12:21:39PM -0500, Tejun Heo wrote:
> On Mon, Feb 01, 2016 at 05:50:33PM -0800, Shaohua Li wrote:
> > block_dev's .writepages/.writepage already handles
> > wbc_init_bio/wbc_account_io. We only set the SB_I_CGROUPWB bit to
> > suppport writeback cgroup support.
> >
> > Signed-off-by: Shaohua Li <shli@...com>
>
> Acked-by: Tejun Heo <tj@...nel.org>
>
> Can you please describe a bit how you tested it tho?
I'm doing a simple buffered write to a disk, assign it to a cgroup and
blk-throttle sets wbps for the disk/cgroup. then I'm watching iostat
with/without the bit set.
Thanks,
Shaohua
Powered by blists - more mailing lists