android_kernel_motorola_sm6225/fs/verity
Eric Biggers e8676808ab UPSTREAM: fsverity: don't drop pagecache at end of FS_IOC_ENABLE_VERITY
The full pagecache drop at the end of FS_IOC_ENABLE_VERITY is causing
performance problems and is hindering adoption of fsverity.  It was
intended to solve a race condition where unverified pages might be left
in the pagecache.  But actually it doesn't solve it fully.

Since the incomplete solution for this race condition has too much
performance impact for it to be worth it, let's remove it for now.

Fixes: 3fda4c617e84 ("fs-verity: implement FS_IOC_ENABLE_VERITY ioctl")
Cc: stable@vger.kernel.org
Reviewed-by: Victor Hsieh <victorhsieh@google.com>
Link: https://lore.kernel.org/r/20230314235332.50270-1-ebiggers@kernel.org
Signed-off-by: Eric Biggers <ebiggers@google.com>

Bug: 273320626
(cherry picked from commit a075bacde257f755bea0e53400c9f1cdd1b8e8e6)
Change-Id: I28dacf122bba5ac816f9b748dcbaa82dc1072fed
Signed-off-by: Eric Biggers <ebiggers@google.com>
2023-04-03 23:49:29 +00:00
..
enable.c UPSTREAM: fsverity: don't drop pagecache at end of FS_IOC_ENABLE_VERITY 2023-04-03 23:49:29 +00:00
fsverity_private.h UPSTREAM: fs-verity: move structs needed for file signing to UAPI header 2021-04-27 11:51:47 -07:00
hash_algs.c UPSTREAM: fs-verity: remove filenames from file comments 2021-04-27 11:41:49 -07:00
init.c UPSTREAM: fs-verity: remove filenames from file comments 2021-04-27 11:41:49 -07:00
Kconfig fs-verity: support builtin file signatures 2019-09-23 14:11:56 -07:00
Makefile fs-verity: support builtin file signatures 2019-09-23 14:11:56 -07:00
measure.c UPSTREAM: fs-verity: rename "file measurement" to "file digest" 2021-04-27 11:50:56 -07:00
open.c UPSTREAM: fs-verity: rename "file measurement" to "file digest" 2021-04-27 11:50:56 -07:00
signature.c ANDROID: fs-verity: Export function to check signatures 2021-04-27 11:52:29 -07:00
verify.c UPSTREAM: fsverity: Remove WQ_UNBOUND from fsverity read workqueue 2023-04-03 23:49:29 +00:00