ceph: invalidate pages even if truncate is pending
authorSage Weil <sage@newdream.net>
Tue, 9 Feb 2010 23:44:16 +0000 (15:44 -0800)
committerSage Weil <sage@newdream.net>
Thu, 11 Feb 2010 19:48:54 +0000 (11:48 -0800)
commit0840d8af3e6e40bcd5f2366698eb2755f88acfea
tree9eed5acb6d23bdefcc4e4a832347199cd3b181d2
parent3c6f6b79a64db7f1c7abf09d693db3b0066784fb
ceph: invalidate pages even if truncate is pending

There is no reason not to invalidate pages when a truncate is pending.
Both throw out page cache pages.

Signed-off-by: Sage Weil <sage@newdream.net>
fs/ceph/caps.c