diff options
author | Eric Biggers <[email protected]> | 2023-03-14 16:31:32 -0700 |
---|---|---|
committer | Eric Biggers <[email protected]> | 2023-03-15 22:50:41 -0700 |
commit | a075bacde257f755bea0e53400c9f1cdd1b8e8e6 (patch) | |
tree | 38ddb36f91c06628eb01b3bd2fdd3985135b3b0a /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | f959325e6ac3f499450088b8d9c626d1177be160 (diff) |
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: [email protected]
Reviewed-by: Victor Hsieh <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Eric Biggers <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions