[PATCH 0/2] ceph fscache: uncaching single no data page when error

From: Li Wang
Date: Thu Dec 19 2013 - 09:05:26 EST


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.

Li Wang (2):
ceph: Introduce a routine for uncaching single no data page from
fscache
ceph: Uncaching no data page from fscache in readpage()

fs/ceph/addr.c | 1 +
fs/ceph/cache.h | 13 +++++++++++++
2 files changed, 14 insertions(+)

--
1.7.9.5

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/