Whamcloud - gitweb
LU-15829 llite: don't use a kms if it invalid.
authorAlexey Lyashkov <alexey.lyashkov@hpe.com>
Thu, 19 May 2022 17:35:18 +0000 (20:35 +0300)
committerAndreas Dilger <adilger@whamcloud.com>
Mon, 31 Oct 2022 04:09:36 +0000 (04:09 +0000)
commitc931fdc3342cb61b4310c8bcd5cfc29fd55ab06e
tree9245f7cd1ac6bb7012febb86ef32abfb0074cea2
parent51ec673af118019c69ea63196301ae5bf3126149
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.

Lustre-change: https://review.whamcloud.com/47395
Lustre-commit: dc907414db16d99e77aecf6bfd41d82b8cf7c36e

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-by: Shaun Tancheff <shaun.tancheff@hpe.com>
Reviewed-by: Bobi Jam <bobijam@hotmail.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
Reviewed-on: https://review.whamcloud.com/c/ex/lustre-release/+/48811
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@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