X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=lustre%2Fosc%2Flproc_osc.c;h=85180ac0eab9d786696ed84559cafd9be3422225;hp=a497228b11ee2071f0cdf505269ec0573850d65e;hb=596f74c122f5edb0d45c4edf1b2aea4f741f7027;hpb=543c5a6d66685ed99332a46e333dfe4a31b74028;ds=sidebyside diff --git a/lustre/osc/lproc_osc.c b/lustre/osc/lproc_osc.c index a497228..85180ac 100644 --- a/lustre/osc/lproc_osc.c +++ b/lustre/osc/lproc_osc.c @@ -818,7 +818,7 @@ static int osc_rpc_stats_seq_show(struct seq_file *seq, void *v) read_cum = 0; write_cum = 0; - for (i = 0; i < OBD_HIST_MAX; i++) { + for (i = 1; i < OBD_HIST_MAX; i++) { unsigned long r = cli->cl_read_rpc_hist.oh_buckets[i]; unsigned long w = cli->cl_write_rpc_hist.oh_buckets[i]; read_cum += r;