]> git.baikalelectronics.ru Git - kernel.git/commit
ceph fscache: Uncaching no data page from fscache in readpage()
authorLi Wang <liwang@ubuntukylin.com>
Thu, 19 Dec 2013 14:03:49 +0000 (06:03 -0800)
committerIlya Dryomov <ilya.dryomov@inktank.com>
Tue, 31 Dec 2013 18:32:03 +0000 (20:32 +0200)
commit855bb26e690eaf4ea5339642ebf60358ba187420
treee23c879201e76c551063722d3e31a5ed65f25604
parent1b50bacb66bd1f6643a0659878d93ef7464ee20c
ceph fscache: Uncaching no data page from fscache in readpage()

Currently, if one new page allocated into fscache in readpage(), however,
with no data read into due to error encountered during reading from OSDs,
the slot in fscache is not uncached. This patch fixes this.

Signed-off-by: Li Wang <liwang@ubuntukylin.com>
Reviewed-by: Milosz Tanski <milosz@adfin.com>
fs/ceph/addr.c