Re: [PATCH 3/3] blkio: Increment the blkio cgroup stats for real now

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Vivek Goyal
Date: Monday, April 5, 2010 - 10:29 am

On Mon, Apr 05, 2010 at 09:53:25AM -0700, Divyesh Shah wrote:

What do you mean by "reset stats at will"? You can change ioscheduler at
will and reset stats? The only possible issue I could think of is that only
admin can change the ioscheduler in providing per cgroup interface, one can
give write permission to indiviaul user and allow users to reset stats.

I am not sure in practice why would you allow a user to reset stats.
Especially if somebody's accounting software is based on these stats.


Ok, you have made blkg->stats_lock visible to cfq. That's fine too.
Can you rename io_add_stat to blkio_add_stat. I think in V2 also, it is
still io_add_stat.

Vivek
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 0/3] blkio: IO controller stats, Divyesh Shah, (Thu Apr 1, 3:00 pm)
[PATCH 2/3] blkio: Add io controller stats like, Divyesh Shah, (Thu Apr 1, 3:01 pm)
Re: [PATCH 0/3] blkio: IO controller stats, Jens Axboe, (Thu Apr 1, 11:45 pm)
Re: [PATCH 2/3] blkio: Add io controller stats like, Vivek Goyal, (Fri Apr 2, 11:10 am)
Re: [PATCH 2/3] blkio: Add io controller stats like, Vivek Goyal, (Fri Apr 2, 11:17 am)
Re: [PATCH 2/3] blkio: Add io controller stats like, Divyesh Shah, (Fri Apr 2, 11:54 am)
Re: [PATCH 2/3] blkio: Add io controller stats like, Divyesh Shah, (Fri Apr 2, 1:53 pm)
Re: [PATCH 2/3] blkio: Add io controller stats like, Vivek Goyal, (Mon Apr 5, 7:45 am)
Re: [PATCH 3/3] blkio: Increment the blkio cgroup stats fo ..., Vivek Goyal, (Mon Apr 5, 10:29 am)
Re: [PATCH 2/3] blkio: Add io controller stats like, Divyesh Shah, (Mon Apr 5, 3:16 pm)