Re: [PATCH 2/3] blkio: Add io controller stats like

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Divyesh Shah
Date: Friday, April 2, 2010 - 1:53 pm

Vivek, thanks for the detailed review. Comments inline. I'll send a V2
patchset soon.

On Fri, Apr 2, 2010 at 11:10 AM, Vivek Goyal <vgoyal@redhat.com> wrote:

Done. Will be in V2

Done. Will be in V2.


Can certainly replace MAX with TOTAL.

Done
Done
Good point. Done

I'm not sure adding this level of complexity (2nd dimension for stats)
and the numerous if (..) statements (or switch) is warranted when they
only apply for the get_stat() and get_typed_stat() functions. This
seems like a more complicated simplification :).

Done

I added a note in the Documentation file that writing an int to any of
the stats should reset all. I don't get the point of introducing
another file for this and would want stats to be cleared all together
in order to have say io_service_time and io_serviced in sync, i.e.,
the io_service_time should always be the total service time for the
IOs accounted for in io_serviced.


Yeah we'd rather keep them separate.
--
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 2/3] blkio: Add io controller stats like, Divyesh Shah, (Mon Apr 5, 3:16 pm)