Whamcloud - gitweb
LU-2099 osd: set dr_elapsed before dr_numreqs
authorAlex Zhuravlev <alexey.zhuravlev@intel.com>
Mon, 8 Oct 2012 06:36:39 +0000 (10:36 +0400)
committerOleg Drokin <green@whamcloud.com>
Tue, 9 Oct 2012 21:40:33 +0000 (17:40 -0400)
commit94b6f0980fecb1ee08049e0f1da544e4c99f3fc3
tree12e51fec6920f1ff7634feeb1a96f7d274713dd8
parent23ac4ff2cc08ed856fc15b5cc837569fa7a45b9e
LU-2099 osd: set dr_elapsed before dr_numreqs

so that service thread always get dr_elapsed and
dr_elapsed_valid initialized when the bio is done.
also, the patch adds a bit of debug to help with
the original bug if this patch doesn't help.

Signed-off-by: Alex Zhuravlev <alexey.zhuravlev@intel.com>
Change-Id: I7c41af9a2be5be2f37190fb053d7449653fc7a99
Reviewed-on: http://review.whamcloud.com/4216
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/osd-ldiskfs/osd_internal.h
lustre/osd-ldiskfs/osd_io.c