Whamcloud - gitweb
LU-10607 osd-zfs: skip io stat for OI scrub 80/31180/5
authorFan Yong <fan.yong@intel.com>
Wed, 28 Feb 2018 03:36:52 +0000 (11:36 +0800)
committerOleg Drokin <oleg.drokin@intel.com>
Tue, 6 Mar 2018 19:14:53 +0000 (19:14 +0000)
commit763c07c431b2ae0a91f4caccf3a4ce86fbc67243
treee0a9ae22442b3789a7597ab007bbc9b8ea413154
parentacabfb9594c956081b615d22cfc1bd39e8a3f331
LU-10607 osd-zfs: skip io stat for OI scrub

It is unnecessary to stat io for OI scrub triggered request.
On the other hand, the OI setup logic may read/write the OI
scrub file. At that time, related lproc (including io stat)
for such OSD is not initialized yet. So this patch skips io
stat for OI scrub.

Signed-off-by: Fan Yong <fan.yong@intel.com>
Change-Id: I9498c1351c1875ac9aa46eed5189cb61a6d102ac
Reviewed-on: https://review.whamcloud.com/31180
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: Alex Zhuravlev <alexey.zhuravlev@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/osd-zfs/osd_internal.h
lustre/osd-zfs/osd_io.c
lustre/osd-zfs/osd_scrub.c