[Lustre-devel] [PATCH] Fix task IO accounting on reads

Richard Henwood rhenwood at whamcloud.com
Tue Jul 19 07:31:42 PDT 2011


On Tue, Apr 26, 2011 at 11:06 AM, Mark Hills <Mark.Hills at framestore.com> wrote:
> We've often found it inconvenient that reads from Lustre mounts do not
> correctly increment IO counts (/proc/<pid>/io).
>
> Below is a patch which aims to fix this functionality.
>
> The symptom is that writes are accounted for, but not reads. It seems that
> the accounting it normally done in the kernels page writeback and
> readahead functionality. Therefore as Lustre implements its own readahead,
> it must also maintain its own accounting on reads (but not writes).
>

Hi Mark;

Are you aware of the (soon to land) patch:
Lustre client procfs stats: read_bytes does not record the number of
bytes transfered from the fs:
http://jira.whamcloud.com/browse/LU-333


richard,
-- 
Richard.Henwood at whamcloud.com
Whamcloud Inc.
tel: +1 512 410 9612



More information about the lustre-devel mailing list