Messages in this thread | | | Date | Fri, 2 Nov 2012 16:07:57 -0700 | From | Tejun Heo <> | Subject | Re: [PATCH 2/2 v5] block/throttle: Add IO submitted information in blkio.throttle |
| |
On Fri, Nov 02, 2012 at 05:31:37PM +0800, Robin Dong wrote: > From: Robin Dong <sanbai@taobao.com> > > Currently, if the IO is throttled by io-throttle, the system admin has no idea > of the situation and can't report it to the real application user about that > he/she has to do something. > > So this patch adds a new interface named blkio.throttle.io_submitted which > exposes the number of bios that have been sent into blk-throttle therefore the > user could calculate the difference from throttle.io_serviced to see how many > IOs are currently throttled. > > Cc: Tejun Heo <tj@kernel.org> > Cc: Vivek Goyal <vgoyal@redhat.com> > Cc: Jens Axboe <axboe@kernel.dk> > Signed-off-by: Tao Ma <boyu.mt@taobao.com> > Signed-off-by: Robin Dong <sanbai@taobao.com>
Acked-by: Tejun Heo <tj@kernel.org>
Thanks.
-- tejun
| |