From 2b57e787456161ac39d8efb7fcb2efd1d7629d6c Mon Sep 17 00:00:00 2001 From: Andrew Perepechko Date: Wed, 6 Oct 2010 19:12:52 +0400 Subject: [PATCH] b=23827 fix per-NID reporting on outstanding writes a=Kevin Van Maren i=Johann Lombardi i=Andreas Dilger --- lustre/obdfilter/filter_io_26.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lustre/obdfilter/filter_io_26.c b/lustre/obdfilter/filter_io_26.c index eddf266..edda65f 100644 --- a/lustre/obdfilter/filter_io_26.c +++ b/lustre/obdfilter/filter_io_26.c @@ -101,7 +101,7 @@ static void record_start_io(struct filter_iobuf *iobuf, int rw, int size, if (exp->exp_nid_stats && exp->exp_nid_stats->nid_brw_stats) { lprocfs_oh_tally(&exp->exp_nid_stats->nid_brw_stats-> hist[BRW_W_RPC_HIST], - atomic_read(&filter->fo_r_in_flight)); + atomic_read(&filter->fo_w_in_flight)); lprocfs_oh_tally_log2(&exp->exp_nid_stats-> nid_brw_stats->hist[BRW_W_DISK_IOSIZE], size); -- 1.8.3.1