From patchwork Tue Feb 22 03:17:17 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: NeilBrown X-Patchwork-Id: 12754444 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 5C50AC433EF for ; Tue, 22 Feb 2022 03:17:54 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 427E28D0002; Mon, 21 Feb 2022 22:17:53 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 3B0278D0001; Mon, 21 Feb 2022 22:17:53 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 250648D0002; Mon, 21 Feb 2022 22:17:53 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0182.hostedemail.com [216.40.44.182]) by kanga.kvack.org (Postfix) with ESMTP id 1043A8D0001 for ; Mon, 21 Feb 2022 22:17:53 -0500 (EST) Received: from smtpin17.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay02.hostedemail.com (Postfix) with ESMTP id C0A3C9F86C for ; Tue, 22 Feb 2022 03:17:52 +0000 (UTC) X-FDA: 79168956384.17.F327B5A Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.220.28]) by imf02.hostedemail.com (Postfix) with ESMTP id 4B53780005 for ; Tue, 22 Feb 2022 03:17:52 +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 0FB2C210FF; Tue, 22 Feb 2022 03:17:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1645499870; 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=GhZHme0nl7A4JBQ0S74qk0HiW5RevCCShdffmTtXtEE=; b=ljl5hpqnn8XItaz2pgS0/dFbp8Or7nFEcXyK3PPQX3y1pOij2ACiitVFo1ZW1KHULTSA32 YPbDwlZKpapBzbobU/O0VXr6WOOcd4WDNGQESKT4qQihx0Fj189ZP5Cn2KjOfrjZWle1nr sSBZtznZf5z+aAaHk0OnFJ6IwVJ/iwo= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1645499870; 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=GhZHme0nl7A4JBQ0S74qk0HiW5RevCCShdffmTtXtEE=; b=ZXJr3TPlVf5poY4reMjaSwIa54LBqaPVcDT+//ErMovmrjU1PnyR6RQJgfl+heyxghO0fc BsR4trFirlMhFPDw== 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 323C613BA7; Tue, 22 Feb 2022 03:17:41 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id 6vPPN9VVFGJPWgAAMHmgww (envelope-from ); Tue, 22 Feb 2022 03:17:41 +0000 Subject: [PATCH 00/11] Remove remaining parts of congestion tracking code. From: NeilBrown To: Andrew Morton , Jan Kara , Wu Fengguang , 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-doc@vger.kernel.org, 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 Date: Tue, 22 Feb 2022 14:17:17 +1100 Message-ID: <164549971112.9187.16871723439770288255.stgit@noble.brown> User-Agent: StGit/0.23 MIME-Version: 1.0 X-Rspamd-Server: rspam01 X-Rspamd-Queue-Id: 4B53780005 X-Rspam-User: Authentication-Results: imf02.hostedemail.com; dkim=pass header.d=suse.de header.s=susede2_rsa header.b=ljl5hpqn; dkim=pass header.d=suse.de header.s=susede2_ed25519 header.b=ZXJr3TPl; spf=pass (imf02.hostedemail.com: domain of neilb@suse.de designates 195.135.220.28 as permitted sender) smtp.mailfrom=neilb@suse.de; dmarc=pass (policy=none) header.from=suse.de X-Stat-Signature: wtp1uafnz1fjsx199zz9ycm1x1eoph4g X-HE-Tag: 1645499872-115260 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: Here is another refresh of my "remove congestion tracking" series. I removed the small tweaks to read-ahead code because they raised questions and are actually required for this series. Everything else is the same. Andrew: please drop the version of this that is currently in your tree even if you don't take this. The changes to fuse/nfs/ceph are not appropriate and I wouldn't want them to land by mistake. Thanks, NeilBrown --- NeilBrown (11): DOC: convert 'subsection' to 'section' in gfp.h MM: document and polish read-ahead code. MM: improve cleanup when ->readpages doesn't process all pages. fuse: remove reliance on bdi congestion nfs: remove reliance on bdi congestion ceph: remove reliance on bdi congestion Remove inode_congested() Remove bdi_congested() and wb_congested() and related functions f2fs: replace congestion_wait() calls with io_schedule_timeout() block/bfq-iosched.c: use "false" rather than "BLK_RW_ASYNC" Remove congestion tracking framework. Documentation/core-api/mm-api.rst | 19 ++++- Documentation/filesystems/vfs.rst | 16 ++-- block/bfq-iosched.c | 2 +- drivers/block/drbd/drbd_int.h | 3 - drivers/block/drbd/drbd_req.c | 3 +- fs/ceph/addr.c | 22 +++--- fs/ceph/super.c | 1 + fs/ceph/super.h | 1 + fs/ext2/ialloc.c | 5 -- fs/f2fs/compress.c | 4 +- fs/f2fs/data.c | 3 +- fs/f2fs/f2fs.h | 6 ++ fs/f2fs/segment.c | 8 +- fs/f2fs/super.c | 6 +- fs/fs-writeback.c | 37 --------- fs/fuse/control.c | 17 ----- fs/fuse/dev.c | 8 -- fs/fuse/file.c | 17 +++++ fs/nfs/write.c | 14 +++- fs/nilfs2/segbuf.c | 15 ---- fs/xfs/xfs_buf.c | 3 - include/linux/backing-dev-defs.h | 8 -- include/linux/backing-dev.h | 50 ------------ include/linux/fs.h | 9 ++- include/linux/nfs_fs_sb.h | 1 + include/trace/events/writeback.h | 28 ------- mm/backing-dev.c | 57 -------------- mm/fadvise.c | 5 +- mm/readahead.c | 122 ++++++++++++++++++++++++++++-- mm/vmscan.c | 21 +---- 30 files changed, 212 insertions(+), 299 deletions(-) -- Signature