]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit - fs/ceph/addr.c
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)
commit183028052b48db2b34c09fd54f0bc465eaa305eb
treee23c879201e76c551063722d3e31a5ed65f25604
parent3f42bc4beadef554fd0d4e6408e9142da268613b
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