Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp2955863pxk; Mon, 21 Sep 2020 01:10:55 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzTrjHN1a4lvjvU/k1mnClbHfVuAFHIdqZAkcdws1P+tWJbBgfZneOx5ukWwuS02fPUCHyv X-Received: by 2002:a50:fc87:: with SMTP id f7mr50776140edq.162.1600675854926; Mon, 21 Sep 2020 01:10:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600675854; cv=none; d=google.com; s=arc-20160816; b=Q17ayiGS33dfZ+WdY0XixcODWA/4RLhiDUHCOVmpm5p3NqcqGZOqaeAOCHzE19gN/o TE8oHvc28v52R93ZqPcRNO5DB6P7xhRuXIy8wprrkRE6tqHVVQo2swLjxSgglbH3U7p6 K61rG9CbmogDMY5ErAQPZkJ62j/lfPFDrLK4wzvbticO+oo8o7y58/iMEqNINtdRVTeI 6QRXj/Phu+CYpOvbPkYEPRivik/Ra3tAj/Leuwb31jpkxpr199Hi1tBOfg5Uu7mg83CL aUHPjljFocqP+wD4vp1txZsPMsoeHj6Ibhh6ajx0x/MxKsqNU9ESa1c1/Rw4yQ3utAmg /7PQ== 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=VM2ZDhyOxyQ2Y1dDHiBEPye1qG1o//V0l6TNm5Sr/FU=; b=n0jo6rO13VUV1b+ig9x28D218SIhtQYhJtRtTPp0zERCMro4r2wbhghHAJjrAMArIq RogMTOaGxGO2AP2G2u8BD0XHObX5790lsy71XS9oOJHmUpW7hG+ssYTB0OwA3WD/3HGp oSPQBcGk6AEFrFg3FWVUp+w2JSfYwKh+D7gGKUcY/uiclR1m5QuzvyFHQ2VT7BcGTddY PNdG8yJ7NGtfUJV4Em24S8LnRPWd4BtilozjhrtOTfQzvrdNUhQcBhNBR82p/jWVNyAN efX/lOt7Sb1GC6Ji8CkVtgy6ie63yvuuGaNvA1PKSl+1E8ernIRzfumoP2MwmxV/y1zU B+NQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b="t0/fR3sl"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-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 sa19si8199289ejb.506.2020.09.21.01.10.32; Mon, 21 Sep 2020 01:10:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-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="t0/fR3sl"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726873AbgIUIJA (ORCPT + 99 others); Mon, 21 Sep 2020 04:09:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38550 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726452AbgIUIH4 (ORCPT ); Mon, 21 Sep 2020 04:07:56 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2C81EC0613CF; Mon, 21 Sep 2020 01:07:56 -0700 (PDT) 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=VM2ZDhyOxyQ2Y1dDHiBEPye1qG1o//V0l6TNm5Sr/FU=; b=t0/fR3slvRiXSRxi1ANdVCAPYJ cTpjX/9/46DAos1ZZSmSu9iT0bOAPH4s2IIQBYnzF5i80UAkswyyGMaX0ZSmgY9fkoz8dCCpQ3+7h Adb3hpLeikh8u7CgrIF0WEBhX1fEIUEBxABgoXVNxCW1d5j5AJgOmtKyCBBj6KDhXKtSvy1xIZBCc IWeakTABDNWW43uVABcmb9AXarhhnZYbB4WsyHg0bVqgcTwp9gTxUmvPRwOHYCv4yoky6MCSu5YHs 0Dz4Pd9AlW7rqDQtJJ5kr4i2Iv7QuEQOFdXgfTL2W5GuhU2d2n8/lsi8Wix4SdH3T6pdRU7OWXlMJ GBC1k5xQ==; Received: from p4fdb0c34.dip0.t-ipconnect.de ([79.219.12.52] helo=localhost) by casper.infradead.org with esmtpsa (Exim 4.92.3 #3 (Red Hat Linux)) id 1kKGr6-0006Vp-FM; Mon, 21 Sep 2020 08:07:25 +0000 From: Christoph Hellwig To: Jens Axboe Cc: Song Liu , Hans de Goede , Coly Li , Richard Weinberger , Minchan Kim , Johannes Thumshirn , Justin Sanders , linux-mtd@lists.infradead.org, dm-devel@redhat.com, linux-block@vger.kernel.org, linux-bcache@vger.kernel.org, linux-kernel@vger.kernel.org, drbd-dev@lists.linbit.com, linux-raid@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-mm@kvack.org, cgroups@vger.kernel.org Subject: bdi cleanups v6 Date: Mon, 21 Sep 2020 10:07:21 +0200 Message-Id: <20200921080734.452759-1-hch@lst.de> X-Mailer: git-send-email 2.28.0 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-kernel@vger.kernel.org Hi Jens, this series contains a bunch of different BDI cleanups. The biggest item is to isolate block drivers from the BDI in preparation of changing the lifetime of the block device BDI in a follow up series. Changes since v5: - improve a commit message - improve the stable_writes deprecation printk - drop "drbd: remove RB_CONGESTED_REMOTE" - drop a few hunks that add a local variable in a otherwise unchanged file due to changes in the previous revisions - keep updating ->io_pages in queue_max_sectors_store - set an optimal I/O size in aoe - inherit the optimal I/O size in bcache Changes since v4: - add a back a prematurely removed assignment in dm-table.c - pick up a few reviews from Johannes that got lost Changes since v3: - rebased on the lasted block tree, which has some of the prep changes merged - extend the ->ra_pages changes to ->io_pages - move initializing ->ra_pages and ->io_pages for block devices to blk_register_queue Changes since v2: - fix a rw_page return value check - fix up various changelogs Changes since v1: - rebased to the for-5.9/block-merge branch - explicitly set the readahead to 0 for ubifs, vboxsf and mtd - split the zram block_device operations - let rw_page users fall back to bios in swap_readpage Diffstat: