From: Andrew Perepechko Date: Wed, 6 Oct 2010 15:12:52 +0000 (+0400) Subject: b=23827 fix per-NID reporting on outstanding writes X-Git-Tag: v1_8_4_54~18 X-Git-Url: https://git.whamcloud.com/gitweb?a=commitdiff_plain;h=2b57e787456161ac39d8efb7fcb2efd1d7629d6c;p=fs%2Flustre-release.git b=23827 fix per-NID reporting on outstanding writes a=Kevin Van Maren i=Johann Lombardi i=Andreas Dilger --- 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);