Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp3874506pxb; Tue, 26 Jan 2021 07:00:23 -0800 (PST) X-Google-Smtp-Source: ABdhPJznGpBnn3UZeB1UC8NGrchCuXxIJ/+w7315M17O3Ag0BMjrFHhU8ZsqsMvBtaVl9x6IjbSx X-Received: by 2002:a17:906:3401:: with SMTP id c1mr3830884ejb.156.1611673222772; Tue, 26 Jan 2021 07:00:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611673222; cv=none; d=google.com; s=arc-20160816; b=UKEOFrt5bw50LnKByzw4+Ie6xjsxMjhMHkYkPOBPQUB+z4Ak+0k4HXIldUrQ/WV7/O Q7bhMbPskwH1tt2AgUe7IXxq6bQL9LrOTWgXPpha7q7WXYkRc8A/FqkqqyUj7qupicF2 IRfVEGUc/xcQgdAR9kl8qIguweqwu89OwKM8rvuo8Gm4MmQnZSqEvGZaaVKgUSuMzkS9 bAzBkIQ6MMzM4EHW23cpmt5euLr2BQ3exXsZ3xYl4XNUWtyXugraAVOFTwrmmcUkiGKj eZA6XgIDNniIBndJLg25BjMc6gknHUbPOfygUDiQ5XZ8NlSSuV+VDbV8Woig5hPL/Qle zhaQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=DlGuhvUuF5545bhBTyuoYUED18e0Xo1tptPGH+ZCVWM=; b=whvFBpt4iP/BkHznovluSlOehmtKpXB0W6Vv4IlSQL/pK1gEsZYl6Ms6bZ/UQUYZXS 9cBUseDJKYaVaiLeDilUiw0p0hn54IQmDDdziKFAb+r6AGsw/EcPCR4ufbVlf1TP9M4t Sv4Inv25gLbsn0vAyJke/3apPg1uLThOLpJABXuo+LL+A+hxS1VXDdkhZR9xyYwVe7SG 8cPkXSBF0SoGCxSfV3KaoLWW0nHRXe62Ns01grV0AZRU790xcRZ6nKnYnWsAyepFdl0r ddIs8ZvfVRhtTV5CKd7XWmbUdfWdfEirW1In1UL1OeXWPzxvnglSjn1fdBjxbkV/SMrM aP1Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=jMQTwjqf; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z15si8622946edl.252.2021.01.26.06.59.47; Tue, 26 Jan 2021 07:00:22 -0800 (PST) Received-SPF: pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=jMQTwjqf; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2406001AbhAZO6Z (ORCPT + 99 others); Tue, 26 Jan 2021 09:58:25 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51636 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2405967AbhAZO6L (ORCPT ); Tue, 26 Jan 2021 09:58:11 -0500 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 36854C0698C2; Tue, 26 Jan 2021 06:57:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Transfer-Encoding:MIME-Version: Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type:Content-ID: Content-Description:In-Reply-To:References; bh=DlGuhvUuF5545bhBTyuoYUED18e0Xo1tptPGH+ZCVWM=; b=jMQTwjqfgxOzhYVUlZs0z9WFMS HRM3mdeuPCtX41haFTd6hK9e25Otzz6mCyGNcv34gLl3lwXKlK5lNyLTebUWNNaFab+hdAbStB327 6X13dSBciQr1C4yXzcvGmt62gd3mz/quTqo9WjsRSWJx4E4YtRztVJUQF2aYf33t7c4ozLh5cmFBq jtTnUIVw6VgPNfzXwq64Crdqp9Bei9fIWZOg+evdMuBCYdR8RMjwHbP99COwLm/oF7u4+vzFrU+Tm 2WUpSisrQMH9uO9aOlv+vEiHmHKQMMIj8qQj2cijQqFQjcvZAiJ5jVKPz8liZXt3v3QT/yndTE765 OTjGoq6g==; Received: from [2001:4bb8:191:e347:5918:ac86:61cb:8801] (helo=localhost) by casper.infradead.org with esmtpsa (Exim 4.94 #2 (Red Hat Linux)) id 1l4Pi4-005luv-Pc; Tue, 26 Jan 2021 14:53:04 +0000 From: Christoph Hellwig To: Jens Axboe , Song Liu Cc: Jaegeuk Kim , Chao Yu , Philipp Reisner , Lars Ellenberg , Coly Li , Mike Snitzer , Josef Bacik , David Sterba , Damien Le Moal , Naohiro Aota , Andrew Morton , Ryusuke Konishi , linux-nilfs@vger.kernel.org, dm-devel@redhat.com, linux-f2fs-devel@lists.sourceforge.net, linux-block@vger.kernel.org, drbd-dev@lists.linbit.com, linux-bcache@vger.kernel.org, linux-raid@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-btrfs@vger.kernel.org, linux-nfs@vger.kernel.org, linux-mm@kvack.org Subject: misc bio allocation cleanups Date: Tue, 26 Jan 2021 15:52:30 +0100 Message-Id: <20210126145247.1964410-1-hch@lst.de> X-Mailer: git-send-email 2.29.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SRS-Rewrite: SMTP reverse-path rewritten from by casper.infradead.org. See http://www.infradead.org/rpr.html Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org Hi Jens, this series contains various cleanups for how bios are allocated or initialized plus related fallout. Diffstat: Documentation/filesystems/f2fs.rst | 1 block/bio.c | 167 ++++++++++++++++++------------------- block/blk-crypto-fallback.c | 2 block/blk-flush.c | 17 +-- drivers/block/drbd/drbd_actlog.c | 2 drivers/block/drbd/drbd_bitmap.c | 2 drivers/block/drbd/drbd_int.h | 2 drivers/block/drbd/drbd_main.c | 13 -- drivers/block/drbd/drbd_req.c | 5 - drivers/block/drbd/drbd_req.h | 12 -- drivers/block/drbd/drbd_worker.c | 5 - drivers/md/dm-clone-target.c | 14 --- drivers/md/dm-zoned-metadata.c | 6 - drivers/md/md.c | 48 +++------- drivers/md/md.h | 2 drivers/md/raid1.c | 2 drivers/md/raid10.c | 2 drivers/md/raid5-ppl.c | 2 drivers/md/raid5.c | 108 +++++++++-------------- drivers/nvme/target/io-cmd-bdev.c | 2 fs/block_dev.c | 2 fs/btrfs/volumes.c | 2 fs/exfat/file.c | 2 fs/ext4/fast_commit.c | 4 fs/ext4/fsync.c | 2 fs/ext4/ialloc.c | 2 fs/ext4/super.c | 2 fs/f2fs/data.c | 28 ------ fs/f2fs/f2fs.h | 2 fs/f2fs/segment.c | 12 -- fs/f2fs/super.c | 1 fs/fat/file.c | 2 fs/hfsplus/inode.c | 2 fs/hfsplus/super.c | 2 fs/jbd2/checkpoint.c | 2 fs/jbd2/commit.c | 4 fs/jbd2/recovery.c | 2 fs/libfs.c | 2 fs/nfs/blocklayout/blocklayout.c | 5 - fs/nilfs2/segbuf.c | 4 fs/nilfs2/the_nilfs.h | 2 fs/ocfs2/file.c | 2 fs/reiserfs/file.c | 2 fs/xfs/xfs_super.c | 2 fs/zonefs/super.c | 4 include/linux/bio.h | 6 - include/linux/blkdev.h | 4 include/linux/swap.h | 1 mm/page_io.c | 45 ++------- mm/swapfile.c | 10 -- 50 files changed, 213 insertions(+), 363 deletions(-)