Skip to content

FS-Cache: Miscellaneous fixes

David Howells linux-fsdevel linux-nfs lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4FS-Cache: Increase reference of parent after registering, netfs successfs/fscache/netfs.c+4 -50 replies
2/4FS-Cache: Don't override netfs's primary_index if registering failedfs/fscache/netfs.c+17 -180 replies
3/4cachefiles: perform test on s_blocksize when opening cache file.fs/cachefiles/namei.c fs/cachefiles/rdwr.c+2 -60 replies
4/4FS-Cache: Handle a write to the page immediately beyond the EOF markerfs/cachefiles/rdwr.c fs/fscache/page.c+38 -310 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/4] FS-Cache: Miscellaneous fixes

Attached are a number of fixes for bugs in FS-Cache and CacheFiles:

(1) Fix refcounting of parent of netfs index during registration.

(2) Only set primary index cookie of netfs if registration successful.

(3) Check block size of backing filesystem is suitable in CacheFiles.

(4) Fix off-by-one error in checking store limit when writing a page to cache.

These can also be found here:

http://git.kernel.org/cgit/linux/kernel/git/dhowells/linux-fs.git/log/?h=fscache-fixes

tagged with:

	fscache-fixes-20151104

David
---
David Howells (1):
FS-Cache: Handle a write to the page immediately beyond the EOF marker

Kinglong Mee (2):
FS-Cache: Increase reference of parent after registering, netfs success
FS-Cache: Don't override netfs's primary_index if registering failed

NeilBrown (1):
cachefiles: perform test on s_blocksize when opening cache file.

 fs/cachefiles/namei.c |    2 +
 fs/cachefiles/rdwr.c  |   73 +++++++++++++++++++++++++------------------------
 fs/fscache/netfs.c    |   38 ++++++++++++--------------
 fs/fscache/page.c     |    2 +
 4 files changed, 58 insertions(+), 57 deletions(-)