aboutsummaryrefslogtreecommitdiff
path: root/lib/netdev-notifier-error-inject.c
diff options
context:
space:
mode:
authorXiubo Li <[email protected]>2022-04-27 14:14:41 +0800
committerIlya Dryomov <[email protected]>2022-05-25 20:45:14 +0200
commita74379543d229a3fb1af8cd44cbd19844a7bb1bc (patch)
tree221d7aa3ac65b546cf3bda7bc78096eafb0f291c /lib/netdev-notifier-error-inject.c
parent55ab5520802016b13098e0ea3794480289659aab (diff)
ceph: try to queue a writeback if revoking fails
If the pagecaches writeback just finished and the i_wrbuffer_ref reaches zero it will try to trigger ceph_check_caps(). But if just before ceph_check_caps() the i_wrbuffer_ref could be increased again by mmap/cache write, then the Fwb revoke will fail. We need to try to queue a writeback in this case instead of triggering the writeback by BDI's delayed work per 5 seconds. URL: https://tracker.ceph.com/issues/46904 URL: https://tracker.ceph.com/issues/55377 Signed-off-by: Xiubo Li <[email protected]> Reviewed-by: Jeff Layton <[email protected]> Signed-off-by: Ilya Dryomov <[email protected]>
Diffstat (limited to 'lib/netdev-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions