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: 12741289 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id DBAA0C433EF for ; Thu, 10 Feb 2022 05:38:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232744AbiBJFiS (ORCPT ); Thu, 10 Feb 2022 00:38:18 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:34912 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230464AbiBJFiS (ORCPT ); Thu, 10 Feb 2022 00:38:18 -0500 Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.220.28]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F1EE110C2; Wed, 9 Feb 2022 21:38:19 -0800 (PST) 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 Precedence: bulk List-ID: X-Mailing-List: linux-block@vger.kernel.org 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