Whamcloud - gitweb
LU-2388 statahead: don't statahead if it's stopped
authorLai Siyao <laisiyao@whamcloud.com>
Fri, 30 Nov 2012 07:45:55 +0000 (15:45 +0800)
committerOleg Drokin <green@whamcloud.com>
Mon, 17 Dec 2012 06:40:34 +0000 (01:40 -0500)
commit44d5aba0bec9ae5538c37e2d018b90555f4b3f02
treea4ee7d5d362bd34b1e6ccd6c148495c2c575f1f5
parent5171780a7b5301cdbb6f98d8c887899600ef098a
LU-2388 statahead: don't statahead if it's stopped

Statahead may be stopped but lli->lli_sai is not NULL(inflight
statahead RPCs), so check lli->lli_opendir_key before accessing
statahead data.

Signed-off-by: Lai Siyao <laisiyao@whamcloud.com>
Change-Id: I4bcd4da0dc2913697473bf85ff6e502df43ce5a2
Reviewed-on: http://review.whamcloud.com/4718
Tested-by: Hudson
Reviewed-by: Fan Yong <fan.yong@intel.com>
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Peng Tao <bergwolf@gmail.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/llite/llite_internal.h