Whamcloud - gitweb
LU-13099 lmv: disable statahead for remote objects 70/37370/2
authorVladimir Saveliev <c17830@cray.com>
Mon, 23 Dec 2019 11:07:25 +0000 (14:07 +0300)
committerOleg Drokin <green@whamcloud.com>
Sat, 8 Feb 2020 05:34:49 +0000 (05:34 +0000)
commit356fc1e703503bbf0bc33b8117ed04fbd5937edf
tree97eacdf2b4f0e15bb0c201cff6957b15a17b9542
parented1391adec4a10075a72b21c506293c6cf9ece95
LU-13099 lmv: disable statahead for remote objects

Statahead for remote objects is supposed to be disabled by
LU-11681 lmv: disable remote file statahead.

However due to typo it is not and statahead for remote objects is
accompanied by warnings like:
  ll_set_inode()) Can not initialize inode .. without object type..
  ll_prep_inode()) new_inode -fatal: rc -12

Fix the typo.

Test to illustrate the issue is added.

Lustre-change: https://review.whamcloud.com/37089
Lustre-commit: 68330379b01cb6bf9b24235a80a4666d24c0e343

Fixes: 02b5a407081c ("LU-11681 lmv: disable remote file statahead")
Signed-off-by: Vladimir Saveliev <c17830@cray.com>
Signed-off-by: Lai Siyao <lai.siyao@whamcloud.com>
Cray-bug-id: LUS-8262
Change-Id: Id9cc7f30ba75918658bf8eb1c8f3249993da6699
Reviewed-on: https://review.whamcloud.com/37370
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/lmv/lmv_obd.c
lustre/tests/multiop.c
lustre/tests/sanity.sh [changed mode: 0644->0755]
lustre/tests/test-framework.sh