[RESEND PATCH 0/7] Cifs and Ceph: Uncache single no-data page in readpage()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 taking 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

--
Linux-cachefs mailing list
Linux-cachefs@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/linux-cachefs




[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]
  Powered by Linux