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 F1752C433EF for ; Mon, 13 Dec 2021 04:15:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231591AbhLMEPf (ORCPT ); Sun, 12 Dec 2021 23:15:35 -0500 Received: from smtp-out2.suse.de ([195.135.220.29]:54122 "EHLO smtp-out2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229955AbhLMEPe (ORCPT ); Sun, 12 Dec 2021 23:15:34 -0500 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-out2.suse.de (Postfix) with ESMTPS id 1A7DD1F3B0; Mon, 13 Dec 2021 04:15:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1639368930; 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=d3ZK4cWv8H7actTxxnZZLYOrGmIHEpiDysulN0ZGTfQ=; b=Siet2ZPRSy42BsoMsDbZgZQRd2FGdZNFiGMVH1theIyEuj7H55s9fpVtsIR5Sa2Kp150xE /cMi3KGN+0Zp9qqRGrwkElO53Pz0HhLVMCz6IzuAKUwu9skGrYaHkOr0rot7wp2LQsFBeY vESybLOON63VU3uZuG/StzoqcmK4cMg= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1639368930; 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=d3ZK4cWv8H7actTxxnZZLYOrGmIHEpiDysulN0ZGTfQ=; b=Pw9406nV/5BOZ4PG4ymu1QAygKL5V2x2Cdl0R8TeO7drctFhMnA/Oi2od7Lhfoq+TNkP46 yImyG+ssud6D30BA== 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 6647213310; Mon, 13 Dec 2021 04:15:26 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id 0e3vCN7ItmFTPwAAMHmgww (envelope-from ); Mon, 13 Dec 2021 04:15:26 +0000 Subject: [PATCH 0/2] Remove some 'congested' tests From: NeilBrown To: Andrew Morton , Mel Gorman , Philipp Reisner , Lars Ellenberg , Jan Kara , Ryusuke Konishi , "Darrick J. Wong" Cc: linux-xfs@vger.kernel.org, linux-ext4@vger.kernel.org, linux-nilfs@vger.kernel.org, linux-mm@kvack.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org Date: Mon, 13 Dec 2021 15:14:27 +1100 Message-ID: <163936868317.23860.5037433897004720387.stgit@noble.brown> User-Agent: StGit/0.23 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org The framework for reporting congestion for "bdi"s is no longer widely used. bdis for block devices don't report congestion at all. bdis for nfs, ceph, and fuse do, but any code which depends on that is not going to work for most filesystems. So we should remove it. These two patches remove {inode,bdi,wb}_congested() and related functions, and change all call site to assume the result was "false", which it (almost) always is. NeilBrown --- NeilBrown (2): Remove inode_congested() Remove bdi_congested() and wb_congested() and related functions drivers/block/drbd/drbd_int.h | 3 --- drivers/block/drbd/drbd_req.c | 3 +-- fs/ext2/ialloc.c | 2 -- fs/nilfs2/segbuf.c | 11 ----------- fs/xfs/xfs_buf.c | 3 --- include/linux/backing-dev.h | 26 -------------------------- mm/vmscan.c | 4 +--- 7 files changed, 2 insertions(+), 50 deletions(-) -- Signature