From patchwork Thu Feb 10 05:37:52 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: NeilBrown X-Patchwork-Id: 12741286 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 9D492C433EF for ; Thu, 10 Feb 2022 05:38:21 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id BE4D16B0071; Thu, 10 Feb 2022 00:38:20 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id BBA9A6B0074; Thu, 10 Feb 2022 00:38:20 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id A831C6B0075; Thu, 10 Feb 2022 00:38:20 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0070.hostedemail.com [216.40.44.70]) by kanga.kvack.org (Postfix) with ESMTP id 9A62E6B0071 for ; Thu, 10 Feb 2022 00:38:20 -0500 (EST) Received: from smtpin08.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay05.hostedemail.com (Postfix) with ESMTP id 4219C18213818 for ; Thu, 10 Feb 2022 05:38:20 +0000 (UTC) X-FDA: 79125764760.08.DFF79C2 Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.220.28]) by imf16.hostedemail.com (Postfix) with ESMTP id ACE75180004 for ; Thu, 10 Feb 2022 05:38:19 +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 3E727212BD; Thu, 10 Feb 2022 05:38:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1644471498; 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=ZwfkqBM5Zq2qH7YykYoVqKGxBkb2fAt928sCyLRg1OI=; b=rjyOsSJ0hdWbAYWMkIp/9yjJA7veoI1NwX3+OjWwkCt3XIX0tXAx6O8uG7pUWWi/i2Pksp pcx98ZHuWm0xEfsG7u3jfVJCopb2Q4lSSuHgnoVhYuKmPEIZ9hw5fVkEpOuzkqN2kH4R7C O3zg6cECKNLyidZeSKz29VI1e99Jc+U= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1644471498; 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=ZwfkqBM5Zq2qH7YykYoVqKGxBkb2fAt928sCyLRg1OI=; b=urUyVi5AjGEouNbZtkXB/wg+OqgZsjRXbihtRMQ4VlR86Ouftkxuz5BGH0eklSfSHWgYk+ 7+l1LNJhi0d6DCBA== 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 77B9213519; Thu, 10 Feb 2022 05:38:10 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id 1e9RDMKkBGKdOAAAMHmgww (envelope-from ); Thu, 10 Feb 2022 05:38:10 +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, linux-block@vger.kernel.org Date: Thu, 10 Feb 2022 16:37:52 +1100 Message-ID: <164447124918.23354.17858831070003318849.stgit@noble.brown> User-Agent: StGit/0.23 MIME-Version: 1.0 X-Rspamd-Queue-Id: ACE75180004 X-Rspam-User: Authentication-Results: imf16.hostedemail.com; dkim=pass header.d=suse.de header.s=susede2_rsa header.b=rjyOsSJ0; dkim=pass header.d=suse.de header.s=susede2_ed25519 header.b=urUyVi5A; spf=pass (imf16.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: yn7ja31d7x6red74squcxyok3eytj6p5 X-Rspamd-Server: rspam04 X-HE-Tag: 1644471499-557404 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 a refresh of my "remove congestion tracking" series. It makes some small changes to readahead so that the effect of the inode_read_congested() test in readahead can be duplicated in the filesystem. fuse uses this. It add some documentation for readahead, and for that to work, it cleans up related doco a bit. 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. 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 | 126 +++++++++++++++++++++++++++--- mm/vmscan.c | 21 +---- 30 files changed, 214 insertions(+), 301 deletions(-) -- Signature