aboutsummaryrefslogtreecommitdiff
path: root/lib/memory-notifier-error-inject.c
diff options
context:
space:
mode:
authorXiubo Li <[email protected]>2023-03-06 15:01:15 +0800
committerIlya Dryomov <[email protected]>2023-08-24 11:24:36 +0200
commit295fc4aa7de4b72cfd764b75a238f79b9433e3ec (patch)
tree7bc969e207ffc01308c1fce86be870acd4b21ea2 /lib/memory-notifier-error-inject.c
parent1464de9f813e35559ff049f1f1f20f1e2a31d6b8 (diff)
ceph: fix updating i_truncate_pagecache_size for fscrypt
When fscrypt is enabled we will align the truncate size up to the CEPH_FSCRYPT_BLOCK_SIZE always, so if we truncate the size in the same block more than once, the latter ones will be skipped being invalidated from the page caches. This will force invalidating the page caches by using the smaller size than the real file size. At the same time add more debug log and fix the debug log for truncate code. Link: https://tracker.ceph.com/issues/58834 Signed-off-by: Xiubo Li <[email protected]> Reviewed-and-tested-by: Luís Henriques <[email protected]> Reviewed-by: Milind Changire <[email protected]> Signed-off-by: Ilya Dryomov <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions