]> git.baikalelectronics.ru Git - kernel.git/commit
fscache: remove unused ->now_uncached callback
authorJan Kara <jack@suse.cz>
Wed, 6 Sep 2017 23:21:15 +0000 (16:21 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 7 Sep 2017 00:27:26 +0000 (17:27 -0700)
commitfaaf9bc6a3286663cc9b4bacb181902cf6a1ff28
tree5b48071836c93090cc5a5ff9d28120bf712ec11a
parentf81f38c47cf6b403a8aafd1302c5447eb822d6d0
fscache: remove unused ->now_uncached callback

Patch series "Ranged pagevec lookup", v2.

In this series I make pagevec_lookup() update the index (to be
consistent with pagevec_lookup_tag() and also as a preparation for
ranged lookups), provide ranged variant of pagevec_lookup() and use it
in places where it makes sense.  This not only removes some common code
but is also a measurable performance win for some use cases (see patch
4/10) where radix tree is sparse and searching & grabing of a page after
the end of the range has measurable overhead.

This patch (of 10):

The callback doesn't ever get called.  Remove it.

Link: http://lkml.kernel.org/r/20170726114704.7626-2-jack@suse.cz
Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Documentation/filesystems/caching/netfs-api.txt
fs/9p/cache.c
fs/afs/cache.c
fs/ceph/cache.c
fs/cifs/cache.c
fs/nfs/fscache-index.c
include/linux/fscache.h