aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorBobi Jam <bobijam.xu@intel.com>2016-11-10 12:30:34 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-11-14 15:54:02 +0100
commitf761d016b62aaba3ee60cc5f6a7d321297507b0a (patch)
treef78737f0bcd63ecff7d8320574541b7bf42c49fb /tools/perf/scripts/python/call-graph-from-postgresql.py
parentstaging: lustre: lov: avoid infinite loop in lsm_alloc_plain() (diff)
downloadlinux-f761d016b62aaba3ee60cc5f6a7d321297507b0a.tar.gz
linux-f761d016b62aaba3ee60cc5f6a7d321297507b0a.zip
staging: lustre: lov: init LOV stripe type beforehand
When lu_object_alloc() reaches to LOV object init, we need initialize its stripe type beforehand, so that if something wrong in the conf buffer, the object chain need to be traversed to free what has been allocated, with LOV object type be set as LLT_EMPTY, and when the LOV part is reached, it won't panic without knowing what stripe type it is. This patch also improves debug messages in lsm_unpackmd_common(), and does not return error if the LOV device is still processing config log while trying to verify a layout buffer. Signed-off-by: Bobi Jam <bobijam.xu@intel.com> Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-6744 Reviewed-on: http://review.whamcloud.com/15362 Reviewed-by: Jinshan Xiong <jinshan.xiong@intel.com> Reviewed-by: Fan Yong <fan.yong@intel.com> Reviewed-by: Andreas Dilger <andreas.dilger@intel.com> Signed-off-by: James Simmons <jsimmons@infradead.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions