Whamcloud - gitweb
LU-15829 llite: don't use a kms if it invalid. 95/47395/6
authorAlexey Lyashkov <alexey.lyashkov@hpe.com>
Thu, 19 May 2022 17:35:18 +0000 (20:35 +0300)
committerOleg Drokin <green@whamcloud.com>
Mon, 12 Sep 2022 02:52:57 +0000 (02:52 +0000)
commitdc907414db16d99e77aecf6bfd41d82b8cf7c36e
treee94174fd3a3998057b40afddf54083091b4304c2
parentabc6c1c6f676d7d50ddd24cdb2d72a61a123d09f
LU-15829 llite: don't use a kms if it invalid.

Lockless DIO don't update a KMS as other IO type does,
it caused a situation when next read don't known a real file size
to be read. Lets avoid using an invalid KMS.

Fixes: 6bce5367 (LU-4198 clio: turn on lockless for some kind of IO)
Signed-off-by: Alexey Lyashkov <alexey.lyashkov@hpe.com>
Change-Id: Ie71d3f3cc24fc16c03ed07f9f5a3a17c7fdfa684
Reviewed-on: https://review.whamcloud.com/47395
Reviewed-by: Shaun Tancheff <shaun.tancheff@hpe.com>
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Bobi Jam <bobijam@hotmail.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/include/cl_object.h
lustre/llite/vvp_io.c
lustre/lov/lov_internal.h
lustre/lov/lov_merge.c
lustre/lov/lov_object.c
lustre/tests/sanity.sh
lustre/tests/test-framework.sh