Whamcloud - gitweb
LU-13099 lmv: disable statahead for remote objects 89/37089/6
authorVladimir Saveliev <c17830@cray.com>
Mon, 23 Dec 2019 11:07:25 +0000 (14:07 +0300)
committerOleg Drokin <green@whamcloud.com>
Tue, 28 Jan 2020 06:02:17 +0000 (06:02 +0000)
commit68330379b01cb6bf9b24235a80a4666d24c0e343
treed2bb195c3ce335420fcc90aa8b0f25d33c953a37
parentb7035222bd649d66beaa8dc8774ff53623fa54dd
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.

Fixes: 02b5a407081c ("LU-11681 lmv: disable remote file statahead")

Signed-off-by: Vladimir Saveliev <c17830@cray.com>
Cray-bug-id: LUS-8262
Change-Id: I8055b6373fb7b9777fa888dcb09384213822a59f
Reviewed-on: https://review.whamcloud.com/37089
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Olaf Faaland-LLNL <faaland1@llnl.gov>
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