Whamcloud - gitweb
LU-14541 llite: avoid stale data reading 76/43476/4
authorWang Shilong <wshilong@ddn.com>
Wed, 28 Apr 2021 14:26:10 +0000 (22:26 +0800)
committerPatrick Farrell <pfarrell@whamcloud.com>
Wed, 7 Jul 2021 17:53:11 +0000 (17:53 +0000)
commite6033b193e8d35e689b7c2860374c8b2d2b7a5ee
tree0f3b043bfb96b2540c2acff8241b0eb4e338b77f
parent04b2da6180d3c8eda21f7ab36c676462be041b74
LU-14541 llite: avoid stale data reading

remove_mapping() can prohibit to kill page from page cache due page
refcount!=2, in vvp_page_delete() clear uptodate flag in case
stale data reading later.

Signed-off-by: Wang Shilong <wshilong@ddn.com>
Change-Id: I322debec951b1a342246475456c0f40e10b0e578
lustre/llite/vvp_page.c