diff options
author | Sage Weil <sage@newdream.net> | 2009-11-12 15:07:24 -0800 |
---|---|---|
committer | Sage Weil <sage@newdream.net> | 2009-11-12 15:57:05 -0800 |
commit | 11ea8eda064aa4dc6e44a6dade1891b69ebd5255 (patch) | |
tree | e7def548d1d80e38710cc7d1fe30d4b2cd37d56f /fs/binfmt_flat.c | |
parent | 039934b895c89c2bb40aa5132efe00e60b70efca (diff) |
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: Sage Weil <sage@newdream.net>
Diffstat (limited to 'fs/binfmt_flat.c')
0 files changed, 0 insertions, 0 deletions