Whamcloud - gitweb
LU-3271 lov: only dump header in lsm_lmm_verify
authorAndreas Dilger <andreas.dilger@intel.com>
Fri, 3 May 2013 18:49:17 +0000 (12:49 -0600)
committerOleg Drokin <oleg.drokin@intel.com>
Thu, 9 May 2013 00:31:00 +0000 (20:31 -0400)
commitab28a55546afdd8871f5cd3dbcef86b97b68fd87
tree541b5e045abe92f0094c4765dfd8e31b86d8f3d2
parent29e98f581ab68ecdfc1b923925eda2ec5b251f3a
LU-3271 lov: only dump header in lsm_lmm_verify

If lsm_lmm_verify_*() find an error in the lov_mds_md header
structure, don't dump the full stripe information, since this
can be totally bogus (e.g. if stripe_count == -1 or similar).
Instead, just dump the header information for debugging.

Signed-off-by: Andreas Dilger <andreas.dilger@intel.com>
Change-Id: Idf8c8bc35b156181aff9f0c5f0ea1f73c89e33d1
Reviewed-on: http://review.whamcloud.com/6261
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Bob Glossman <bob.glossman@intel.com>
Reviewed-by: John Hammond <johnlockwoodhammond@gmail.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/lov/lov_ea.c
lustre/lov/lov_internal.h
lustre/lov/lov_pack.c