Whamcloud - gitweb
LU-14644 vvp: wait for nrpages to be updated
authorVitaly Fertman <c17818@cray.com>
Tue, 27 Apr 2021 18:43:06 +0000 (21:43 +0300)
committerJohn L. Hammond <jhammond@whamcloud.com>
Tue, 5 Apr 2022 20:58:21 +0000 (20:58 +0000)
commit9a0621b1ac45921787dd13acbdb92915a30aa5e5
tree799f925d7828d358fc406e422d322f3d7c3d57db
parentc5d018d3fc4a49db7b31b109dad94b82170509bd
LU-14644 vvp: wait for nrpages to be updated

truncate_inode_pages() says there still may be a page in a process
of deletion upon return. wait for another thread which is doing
__delete_from_page_cache() to get nrpages updated.

Lustre-change: https://review.whamcloud.com/43464
Lustre-commit: 7d5d004506650c3739898e70d72c9a86b8aeeb88

Signed-off-by: Vitaly Fertman <c17818@cray.com>
Change-Id: I165b3d0866efaf2eb7e977520ebba4ee831874ab
HPE-bug-id: LUS-8842
Reviewed-on: https://review.whamcloud.com/46954
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Alex Zhuravlev <bzzz@whamcloud.com>
Reviewed-by: Patrick Farrell <pfarrell@whamcloud.com>
Reviewed-by: John L. Hammond <jhammond@whamcloud.com>
lustre/llite/llite_internal.h
lustre/llite/llite_lib.c
lustre/llite/vvp_object.c