From patchwork Fri Apr 1 18:54:59 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matthew Wilcox X-Patchwork-Id: 12798622 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9E17AC433F5 for ; Fri, 1 Apr 2022 18:55:28 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 1945F8D0001; Fri, 1 Apr 2022 14:55:18 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 1438E6B0072; Fri, 1 Apr 2022 14:55:18 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 00ADC8D0001; Fri, 1 Apr 2022 14:55:17 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0245.hostedemail.com [216.40.44.245]) by kanga.kvack.org (Postfix) with ESMTP id E58D36B0071 for ; Fri, 1 Apr 2022 14:55:17 -0400 (EDT) Received: from smtpin21.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay03.hostedemail.com (Postfix) with ESMTP id 93AB6824C424 for ; Fri, 1 Apr 2022 18:55:07 +0000 (UTC) X-FDA: 79309212654.21.555E0EF Received: from casper.infradead.org (casper.infradead.org [90.155.50.34]) by imf09.hostedemail.com (Postfix) with ESMTP id 8A02A140016 for ; Fri, 1 Apr 2022 18:55:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Type:MIME-Version:Message-ID: Subject:Cc:To:From:Date:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:In-Reply-To:References; bh=XJOrGSYKrpUl9P2lPia9/j6W+jG3jYIdXlwX/9aolig=; b=KXmbrtA6cve8ospoF0xCATPBnS 69TOJVSsG59t6tR9ysHMuyLR7Ov4Fk/D1vAomEge1/lvRnlaJWlxNTlpybDSd2ACZ5Jqm6qlrhUzC nNYaqb/mVMx1ECXF5CT7Kjenfqzqa0IyZ2G0VHgCRkcQ+mPo9tmDV5ri4HW1E1royqOKAdXJxilnK E7LITeQU1sguywYOJfyqP6UkRoOIPTJ29QepPTrOIAv0VX8T3QWDTfIKMEO0Nklueos22YKeOvvxo Bm6hqxZ0fXdtM/L+wo6jLUJYGMji8WpJU5DLp1o1UpdSburjv7Bj2Lq+g4xGxcXTDrtQrfrIRwuH1 iIFUqFMg==; Received: from willy by casper.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1naMQF-003UqQ-Vy; Fri, 01 Apr 2022 18:55:00 +0000 Date: Fri, 1 Apr 2022 19:54:59 +0100 From: Matthew Wilcox To: Linus Torvalds Cc: linux-kernel@vger.kernel.org, linux-mm@kvack.org, linux-fsdevel@vger.kernel.org Subject: [GIT PULL] Folio fixes for 5.18 Message-ID: MIME-Version: 1.0 Content-Disposition: inline Authentication-Results: imf09.hostedemail.com; dkim=pass header.d=infradead.org header.s=casper.20170209 header.b=KXmbrtA6; spf=none (imf09.hostedemail.com: domain of willy@infradead.org has no SPF policy when checking 90.155.50.34) smtp.mailfrom=willy@infradead.org; dmarc=none X-Stat-Signature: 7o13x5un9b8r4q5qz3btxp6tz5nuthot X-Rspam-User: X-Rspamd-Server: rspam12 X-Rspamd-Queue-Id: 8A02A140016 X-HE-Tag: 1648839306-271951 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: A mixture of odd changes that didn't quite make it into the original pull and fixes for things that did. Also the readpages changes had to wait for the NFS tree to be pulled first. The following changes since commit d888c83fcec75194a8a48ccd283953bdba7b2550: fs: fix fd table size alignment properly (2022-03-29 23:29:18 -0700) are available in the Git repository at: git://git.infradead.org/users/willy/pagecache.git tags/folio-5.18d for you to fetch changes up to 5a60542c61f3cce6e5dff2a38c8fb08a852a517b: btrfs: Remove a use of PAGE_SIZE in btrfs_invalidate_folio() (2022-04-01 14:40:44 -0400) ---------------------------------------------------------------- Filesystem/VFS changes for 5.18, part two - Remove ->readpages infrastructure - Remove AOP_FLAG_CONT_EXPAND - Move read_descriptor_t to networking code - Pass the iocb to generic_perform_write - Minor updates to iomap, btrfs, ext4, f2fs, ntfs ---------------------------------------------------------------- Christoph Hellwig (2): mm: remove the pages argument to read_pages mm: remove the skip_page argument to read_pages Matthew Wilcox (Oracle) (13): readahead: Remove read_cache_pages() fs: Remove ->readpages address space operation readahead: Update comments iomap: Simplify is_partially_uptodate a little fs: Remove read_actor_t fs, net: Move read_descriptor_t to net.h fs: Pass an iocb to generic_perform_write() filemap: Remove AOP_FLAG_CONT_EXPAND ext4: Correct ext4_journalled_dirty_folio() conversion f2fs: Correct f2fs_dirty_data_folio() conversion f2fs: Get the superblock from the mapping instead of the page ntfs: Correct mark_ntfs_record_dirty() folio conversion btrfs: Remove a use of PAGE_SIZE in btrfs_invalidate_folio() Documentation/filesystems/fsverity.rst | 6 +- Documentation/filesystems/locking.rst | 6 - Documentation/filesystems/vfs.rst | 11 -- fs/btrfs/inode.c | 2 +- fs/btrfs/reflink.c | 4 +- fs/buffer.c | 3 +- fs/ceph/file.c | 2 +- fs/cifs/cifssmb.c | 2 +- fs/cifs/inode.c | 2 +- fs/crypto/crypto.c | 2 +- fs/ext4/file.c | 2 +- fs/ext4/inode.c | 2 +- fs/ext4/readpage.c | 2 +- fs/f2fs/checkpoint.c | 2 +- fs/f2fs/data.c | 6 +- fs/f2fs/file.c | 2 +- fs/f2fs/node.c | 4 +- fs/fuse/fuse_i.h | 2 +- fs/iomap/buffered-io.c | 9 +- fs/nfs/file.c | 2 +- fs/ntfs/aops.c | 2 +- fs/verity/verify.c | 4 +- include/linux/fs.h | 31 +---- include/linux/fsverity.h | 2 +- include/linux/net.h | 19 +++ include/linux/pagemap.h | 2 - mm/filemap.c | 12 +- mm/readahead.c | 204 +++++++++------------------------ 28 files changed, 113 insertions(+), 236 deletions(-)