Skip to content
Commit 11ea8eda authored by Sage Weil's avatar Sage Weil
Browse files

ceph: fix page invalidation deadlock



We occasionally want to make a best-effort attempt to invalidate cache
pages without fear of blocking.  If this fails, we fall back to an async
invalidate in another thread.

Use invalidate_mapping_pages instead of invalidate_inode_page2, as that
will skip locked pages, and not deadlock.

Signed-off-by: default avatarSage Weil <sage@newdream.net>
parent 039934b8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment