]> git.baikalelectronics.ru Git - kernel.git/commit
cifs: Transition from ->readpages() to ->readahead()
authorDavid Howells <dhowells@redhat.com>
Thu, 27 Jan 2022 16:02:42 +0000 (16:02 +0000)
committerSteve French <stfrench@microsoft.com>
Tue, 1 Feb 2022 16:29:18 +0000 (10:29 -0600)
commit638f8e23cb82a3d631ac4da0df6f91ab03c118e3
tree22fdf726fdb02cc6e7863eaed6b5cca5ecb8aa2d
parent1b8f1b69d3a2e1f79cf65a48cd6a188104e29ef9
cifs: Transition from ->readpages() to ->readahead()

Transition the cifs filesystem from using the old ->readpages() method to
using the new ->readahead() method.

For the moment, this removes any invocation of fscache to read data from
the local cache, leaving that to another patch.

Signed-off-by: David Howells <dhowells@redhat.com>
cc: Steve French <smfrench@gmail.com>
cc: Shyam Prasad N <nspmangalore@gmail.com>
cc: Matthew Wilcox <willy@infradead.org>
cc: Jeff Layton <jlayton@kernel.org>
cc: linux-cifs@vger.kernel.org
cc: linux-cachefs@redhat.com
Reviewed-by: Rohith Surabattula <rohiths@microsoft.com>
Acked-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/cifs/file.c