Skip to content
Commit 93afd449 authored by Sage Weil's avatar Sage Weil
Browse files

ceph: only invalidate on check_caps if we actually have pages



The i_rdcache_gen value only implies we MAY have cached pages; actually
check the mapping to see if it's worth bothering with an invalidate.

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