Whamcloud - gitweb
LU-9716 osc: osc_extent_tree_dump0() implementation is suboptimal 66/27866/3
authorAndrew Perepechko <andrew.perepechko@seagate.com>
Wed, 28 Jun 2017 09:24:26 +0000 (12:24 +0300)
committerOleg Drokin <oleg.drokin@intel.com>
Wed, 19 Jul 2017 03:32:13 +0000 (03:32 +0000)
commit97115ccd159e4503ca16cb7f68ee7479c780f1cf
treee62378b2dd8d95a2dabe87c5b6b7acc05328282d
parent8c867d1bcd5e7b09a9cfc063ae82324f9780c0ef
LU-9716 osc: osc_extent_tree_dump0() implementation is suboptimal

Avoid looping in osc_extent_tree_dump() if debugging is disabled.
This helps us save some cpu ticks.

Change-Id: I492429d8a6de79f67b5923895ffa58b7fe3a100d
Seagate-bug-id: MRP-4469
Signed-off-by: Andrew Perepechko <andrew.perepechko@seagate.com>
Reviewed-on: https://review.whamcloud.com/27866
Reviewed-by: Alexander Boyko <alexander.boyko@seagate.com>
Tested-by: Jenkins
Reviewed-by: Alexander Zarochentsev <alexander.zarochentsev@seagate.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
lustre/osc/osc_cache.c