Whamcloud - gitweb
LU-5274 llite: fix ll_statahead_thread() problems on failure 40/10940/8
authorLi Xi <lixi@ddn.com>
Wed, 2 Jul 2014 08:26:22 +0000 (16:26 +0800)
committerOleg Drokin <oleg.drokin@intel.com>
Tue, 15 Jul 2014 03:37:33 +0000 (03:37 +0000)
commit8e13d34da223e0fc86a7cd269675b067e353f829
treeb274d9bc89beb10949e1c091fb1995209abf00bb
parent07d481957c16832c782bb7d0c1fc436bcb148ea6
LU-5274 llite: fix ll_statahead_thread() problems on failure

When ll_prep_md_op_data() fails, ll_statahead_thread() does not
release reference of sai and parent dentry. It does not wake
up parent thread either. This patch fixes these problems.

Signed-off-by: Li Xi <lixi@ddn.com>
Change-Id: Ibcc527d229e8a78710ff2263eb97969c7c46ecdb
Reviewed-on: http://review.whamcloud.com/10940
Reviewed-by: John L. Hammond <john.hammond@intel.com>
Tested-by: John L. Hammond <john.hammond@intel.com>
Tested-by: Jenkins
Reviewed-by: Lai Siyao <lai.siyao@intel.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/llite/statahead.c