cifs: Enable large folio support
authorDavid Howells <dhowells@redhat.com>
Wed, 17 Apr 2024 14:00:55 +0000 (15:00 +0100)
committerDavid Howells <dhowells@redhat.com>
Wed, 1 May 2024 17:08:22 +0000 (18:08 +0100)
commit7c1ac89480e8d5d34d38a868642216c8f05ee602
tree571879d424522169b3f86f3cbcd92bb55b6841d2
parentb593634424d4ff1319226eb0187c634b0b819224
cifs: Enable large folio support

Now that cifs is using netfslib for its VM interaction, it only sees I/O in
terms of iov_iter iterators and does not see pages or folios.  This makes
large multipage folios transparent to cifs and so we can turn on multipage
folios on regular files.

Signed-off-by: David Howells <dhowells@redhat.com>
cc: Steve French <sfrench@samba.org>
cc: Shyam Prasad N <nspmangalore@gmail.com>
cc: Rohith Surabattula <rohiths.msft@gmail.com>
cc: Jeff Layton <jlayton@kernel.org>
cc: linux-cifs@vger.kernel.org
cc: netfs@lists.linux.dev
cc: linux-fsdevel@vger.kernel.org
cc: linux-mm@kvack.org
fs/smb/client/inode.c