From patchwork Thu Jan 27 02:46:29 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: NeilBrown X-Patchwork-Id: 12726113 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 12B43C433F5 for ; Thu, 27 Jan 2022 02:47:09 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 6A1466B0075; Wed, 26 Jan 2022 21:47:08 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 650156B0078; Wed, 26 Jan 2022 21:47:08 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 53F396B007B; Wed, 26 Jan 2022 21:47:08 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0237.hostedemail.com [216.40.44.237]) by kanga.kvack.org (Postfix) with ESMTP id 40D236B0075 for ; Wed, 26 Jan 2022 21:47:08 -0500 (EST) Received: from smtpin27.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay01.hostedemail.com (Postfix) with ESMTP id E6ECA181A3481 for ; Thu, 27 Jan 2022 02:47:07 +0000 (UTC) X-FDA: 79074530094.27.DC62B5F Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.220.28]) by imf17.hostedemail.com (Postfix) with ESMTP id 80D2540003 for ; Thu, 27 Jan 2022 02:47:07 +0000 (UTC) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id AB2D621905; Thu, 27 Jan 2022 02:47:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1643251625; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=yDPdolIqP1BqbqmgH35S+RrYDCrJz/kAXtj6i96pLsQ=; b=hAN5Dg0REL/K5jKsVHYqM3X+M7oL7DolmPiPn5nkKXAbr4U3cj5oAi65hMwxiSWo27QmOB cLQTty8i2cI986CYr180STDwieVyetu7kQ3qHdYo7SeahuPrc14qirLFBA73zPbrr4po2f zGgWZWBXgqAPi8k0xRaMTCQlkN1djpM= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1643251625; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=yDPdolIqP1BqbqmgH35S+RrYDCrJz/kAXtj6i96pLsQ=; b=x6ydMXUFPK4DvzDKO6csSNrS9nejdxdCvtHG4Sf6wjFPHRmP2fhorasjEjQ6+4R4FunEK1 J47b6RQj8pZ6MXBg== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id E280813E46; Thu, 27 Jan 2022 02:46:58 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id d+tYJ6IH8mGjKwAAMHmgww (envelope-from ); Thu, 27 Jan 2022 02:46:58 +0000 Subject: [PATCH 0/9] Remove remaining parts of congestions tracking code. From: NeilBrown To: Andrew Morton , Jaegeuk Kim , Chao Yu , Jeff Layton , Ilya Dryomov , Miklos Szeredi , Trond Myklebust , Anna Schumaker , Ryusuke Konishi , "Darrick J. Wong" , Philipp Reisner , Lars Ellenberg , Paolo Valente , Jens Axboe Cc: linux-mm@kvack.org, linux-nilfs@vger.kernel.org, linux-nfs@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-f2fs-devel@lists.sourceforge.net, linux-ext4@vger.kernel.org, ceph-devel@vger.kernel.org, drbd-dev@lists.linbit.com, linux-kernel@vger.kernel.org, linux-block@vger.kernel.org Date: Thu, 27 Jan 2022 13:46:29 +1100 Message-ID: <164325106958.29787.4865219843242892726.stgit@noble.brown> User-Agent: StGit/0.23 MIME-Version: 1.0 X-Rspamd-Server: rspam03 X-Rspamd-Queue-Id: 80D2540003 X-Stat-Signature: 8zwbeexptbpaosywz88mq8jfuuzngqf8 Authentication-Results: imf17.hostedemail.com; dkim=pass header.d=suse.de header.s=susede2_rsa header.b=hAN5Dg0R; dkim=pass header.d=suse.de header.s=susede2_ed25519 header.b=x6ydMXUF; dmarc=pass (policy=none) header.from=suse.de; spf=pass (imf17.hostedemail.com: domain of neilb@suse.de designates 195.135.220.28 as permitted sender) smtp.mailfrom=neilb@suse.de X-Rspam-User: nil X-HE-Tag: 1643251627-718042 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: Congestion hasn't been reliably tracked for quite some time. Most MM uses of it for guiding writeback decisions were removed in 5.16. Some other uses were removed in 17-rc1. This series removes the remaining places that test for congestion, and the few places which still set it. The second patch touches a few filesystems. I didn't think there was much value in splitting this out by filesystems, but if maintainers would rather I did that, I will. The f2fs, cephfs, fuse, NFS, and block patches can go through the respective trees proving the final patch doesn't land until after they all do - so maybe it should be held for 5.18-rc2 if all the rest lands by 5.18-rc1. Thanks, NeilBrown --- NeilBrown (9): Remove inode_congested() Remove bdi_congested() and wb_congested() and related functions f2fs: change retry waiting for f2fs_write_single_data_page() f2f2: replace some congestion_wait() calls with io_schedule_timeout() cephfs: don't set/clear bdi_congestion fuse: don't set/clear bdi_congested NFS: remove congestion control. block/bfq-iosched.c: use "false" rather than "BLK_RW_ASYNC" Remove congestion tracking framework. block/bfq-iosched.c | 2 +- drivers/block/drbd/drbd_int.h | 3 -- drivers/block/drbd/drbd_req.c | 3 +- fs/ceph/addr.c | 27 --------------- fs/ceph/super.c | 2 -- fs/ceph/super.h | 2 -- fs/ext2/ialloc.c | 2 -- fs/f2fs/compress.c | 6 ++-- fs/f2fs/data.c | 9 +++-- fs/f2fs/segment.c | 14 ++++---- fs/f2fs/super.c | 8 ++--- fs/fuse/control.c | 17 ---------- fs/fuse/dev.c | 8 ----- fs/nfs/sysctl.c | 7 ---- fs/nfs/write.c | 53 +---------------------------- fs/nilfs2/segbuf.c | 11 ------ fs/xfs/xfs_buf.c | 3 -- include/linux/backing-dev-defs.h | 8 ----- include/linux/backing-dev.h | 28 ---------------- include/linux/nfs_fs.h | 1 - include/linux/nfs_fs_sb.h | 1 - include/trace/events/writeback.h | 28 ---------------- mm/backing-dev.c | 57 -------------------------------- mm/vmscan.c | 4 +-- 24 files changed, 25 insertions(+), 279 deletions(-) -- Signature