Skip to content
Snippets Groups Projects
Commit 2c9f7be0 authored by Lai Siyao's avatar Lai Siyao Committed by John L. Hammond
Browse files

LU-10165 llite: disable statahead if starting statahead fail

Once starting statahead thread fails, it should disable statahead.
Current code only does this when "sai != NULL", instead it should
check whether current process is opening this dir, so for cases
like current file is not the first dirent, or sai allocation fail,
it won't retry statahead.

Lustre-change: https://review.whamcloud.com/29817


Lustre-commit: 8b1bd1b8

Signed-off-by: default avatarLai Siyao <lai.siyao@intel.com>
Change-Id: Iaedddd3659cdffeab51800f45b02f0b39c4a1ec1
Reviewed-by: default avatarFan Yong <fan.yong@intel.com>
Reviewed-by: default avatarAndreas Dilger <andreas.dilger@intel.com>
Signed-off-by: default avatarMinh Diep <minh.diep@intel.com>
Reviewed-on: https://review.whamcloud.com/32366


Tested-by: Jenkins
Reviewed-by: default avatarAndreas Dilger <adilger@whamcloud.com>
Tested-by: default avatarMaloo <hpdd-maloo@intel.com>
Reviewed-by: default avatarJohn L. Hammond <jhammond@whamcloud.com>
parent 686a73ea
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment