Currently, the page allocated into fscache in readpage() for Cifs and Ceph does not be uncached if no data read due to io error. This patch fixes this. fscache_readpages_cancel() is for this kind of job but taking list read * as input, so a new routine take page * as input is introduced.
Li Wang (7): Fscache: Introduce new API fscache_readpage_cancel() Fscache: Implement uncaching single no-data page Ceph: Introduce routine for uncaching single no-data page Ceph: Uncaching no-data page in readpage() Cifs: Introduce routine for uncaching single no-data page Cifs: Implement uncaching single no-data page Cifs: Uncaching no-data page in readpage() fs/ceph/addr.c | 1 + fs/ceph/cache.h | 13 +++++++++++++ fs/cifs/file.c | 4 +++- fs/cifs/fscache.c | 7 +++++++ fs/cifs/fscache.h | 13 +++++++++++++ fs/fscache/page.c | 8 ++++++++ include/linux/fscache.h | 11 +++++++++++ 7 files changed, 56 insertions(+), 1 deletion(-) -- 1.7.9.5 -- To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html