ceph: clean PgPrivate2 on returning from readpages
authorMilosz Tanski <milosz@adfin.com>
Wed, 21 Aug 2013 21:30:27 +0000 (17:30 -0400)
committerMilosz Tanski <milosz@adfin.com>
Fri, 6 Sep 2013 16:50:11 +0000 (16:50 +0000)
commit76be778b3a4eae63ee4dcb22ff2045d3a0fe863b
treeb656adc374f4037b08a628e28ea107b6d27e03ce
parent99ccbd229cf7453206bc858e795ec1f0345ff258
ceph: clean PgPrivate2 on returning from readpages

In some cases the ceph readapages code code bails without filling all the pages
already marked by fscache. When we return back to readahead code this causes
a BUG.

Signed-off-by: Milosz Tanski <milosz@adfin.com>
fs/ceph/addr.c
fs/ceph/cache.h