Skip to content

Cifs and Ceph: Uncache single no-data page in readpage()

Li Wang ceph-devel linux-cifs linux-fsdevel lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7Fscache: Introduce new API fscache_readpage_cancel()include/linux/fscache.h+11 -00 replies
2/7Fscache: Implement uncaching single no-data pagefs/fscache/page.c+8 -00 replies
3/7Ceph: Introduce routine for uncaching single no-data pagefs/ceph/cache.h+13 -00 replies
4/7Ceph: Uncaching no-data page in readpage()fs/ceph/addr.c+1 -00 replies
5/7Cifs: Introduce routine for uncaching single no-data pagefs/cifs/fscache.h+13 -00 replies
6/7Cifs: Implement uncaching single no-data pagefs/cifs/fscache.c+7 -00 replies
7/7Cifs: Uncaching no-data page in readpage()fs/cifs/file.c+3 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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

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(-)
Signature · 1 line
1.7.9.5