Whamcloud - gitweb
LU-16160 llite: SIGBUS is possible on a race with page reclaim 02/50202/2
authorAndrew Perepechko <andrew.perepechko@hpe.com>
Fri, 3 Mar 2023 22:11:50 +0000 (17:11 -0500)
committerOleg Drokin <green@whamcloud.com>
Tue, 11 Apr 2023 00:06:24 +0000 (00:06 +0000)
commitb0a6d4d08e19d06661deabdb7278f07662d8b6e8
tree33162a36b9f4e75bf05450cde7fb70a2ad0236ff
parentea34ee7b40271ec23b6d9ed916a43971dd73fad5
LU-16160 llite: SIGBUS is possible on a race with page reclaim

We can restart fault handling if page truncation happens
in parallel with the fault handler.

Lustre-commit: I6e60783e3334f87e799dc8b0e6e63d0bb358a236
Lustre-change: https://review.whamcloud.com/49647

Also included sanityn test from:
LU-16160 llite: clear stale page's uptodate bit
5b911e03261c3de6b0c2934c86dd191f01af4f2f
https://review.whamcloud.com/48607

Change-Id: I6e60783e3334f87e799dc8b0e6e63d0bb358a236
Signed-off-by: Andrew Perepechko <andrew.perepechko@hpe.com>
Signed-off-by: Patrick Farrell <farr0186@gmail.com>
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/50202
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/include/lustre_compat.h
lustre/llite/llite_internal.h
lustre/llite/llite_lib.c
lustre/llite/llite_mmap.c
lustre/llite/vvp_page.c
lustre/tests/rw_seq_cst_vs_drop_caches.c
lustre/tests/sanityn.sh