Received: by 2002:ab2:6816:0:b0:1f9:5764:f03e with SMTP id t22csp3303580lqo; Tue, 21 May 2024 12:41:27 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVyiJaHpN1mvPoRWeoeaxWEzeEynGFsmiEessArKYG/dWcPHmBmFEjPL97AwJ+KZqy6HXScDIzB0SPunMpKMfeyRZKZ2aZEYLWLLpQrNw== X-Google-Smtp-Source: AGHT+IFtSOZMdEybLyBq6T7PkvVzQGJ/1t3JO4nRgKl+eC6FdaPIvYqvWNjTzqaLepKzxWBiK2n/ X-Received: by 2002:a17:902:f650:b0:1f3:139c:ce8d with SMTP id d9443c01a7336-1f3139cd2d5mr17197155ad.5.1716320487240; Tue, 21 May 2024 12:41:27 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716320487; cv=pass; d=google.com; s=arc-20160816; b=LBfZJutv2pC79QITBrwUw86akgVJ6aMT1KzCwI/bSkRf+YZCkca2zX1pOQR1/NI4D2 eru/ap5h3VzHVyEpBhE9ahM/0TqQFuhJ/sxTtyPyVOHLPyRSV70Nc8xyVoymJwWhubTV exzYLZ+f1rTbmRvMH91RWNHOMuanDbh0M74Fw7VRet20YmcwMhjZQfYh5Amzm2BE8WVs VR9FAywNGTsMuOoeDrMph0jR1VYJ1vi08LTF2FShaWOHFAOFKxm7++BkENym5uO3xd6N nFmqeVfqQxUD/d80OA4nHQ0EagLJKGCbnR2LfZKs6JQsUHNV7hWYHtFRJSH0FYgYFk66 O5gQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:message-id:subject:cc:to:from:date:dkim-signature; bh=Tbk+wAckI7ORsUezlOoBQgzIj7S/QOcUIP0Sm5u3+ZQ=; fh=tLLfTvUfvZ8BRsVSJjBzA0pUpGI4Rs08ZDM0bmB1b3w=; b=tNek9+c1l7NblNfqhrraEmyPknCdRrPto0G5hZTInpX7m2S437pypMOpmOuIgW+/Zd mHqDKjjoBco11ttIAVq5ycAD2btSD+I0xXL7tAaUNrKcKQczZuQRtqz4G5pGcvy8LSJR zmWyf83VeNRqY96jWeOQoq5WPQ7LhISq8wge4ZL8Avvz8o7w+J5KBDr47Ibb8sLRar3i gnwsFV3EjT+CkeOoprg7B0ie3uk5cWcMXxsBCEgClCiMbxohQldBJNnCEljVPRI5IBgx OPMv+VJG1imNVD8QakbprwslnjvdoArnm09n40Cw7K8RGQSsyQE4UJlZUNUS2YKbL/BN EhAw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=RCIW0InT; arc=pass (i=1 dkim=pass dkdomain=infradead.org); spf=pass (google.com: domain of linux-kernel+bounces-185088-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-185088-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id d9443c01a7336-1ef0c038a22si238202845ad.391.2024.05.21.12.41.26 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 May 2024 12:41:27 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-185088-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=RCIW0InT; arc=pass (i=1 dkim=pass dkdomain=infradead.org); spf=pass (google.com: domain of linux-kernel+bounces-185088-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-185088-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id A5648B26307 for ; Tue, 21 May 2024 14:24:21 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 94292130494; Tue, 21 May 2024 14:24:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="RCIW0InT" Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5B2B812FB35; Tue, 21 May 2024 14:24:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.137.202.133 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716301445; cv=none; b=gmO2/XMgSDHxE59VlTw31z5ERMNEnXRpHoRV2sbau+W0n74ERh1vhpg5a2j6ok1OL+YJp7UB+0kSUFPNCE6UME1sPBHA28NwNUuq8piPr0D+nOJ21F34q9Xll3pRBu1qQ0JRQqdZGztTVEhrpAolRhKOge0+ixDuMWC4bggIO+8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716301445; c=relaxed/simple; bh=Ufb8V9EXfBATCWAkkaDHd9SSjQcvqH4KeGWG5MbMraM=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=LS8c6Y6r/rG+Jc6UaZJsIe3/XCr3pOiFM5o+5bvgQUFtpSDOd/rOWPw+I0Ni4hUd7kFIEikGIWvHyjavA3taz1s2Y6DVk53HrbfZrf6DkZwuTCWd4eD7ab2Tqb4M3rsToe8AfJkfTnnJt5yNZKFqc9kDC3rD0I4mdZEpNzCK11M= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org; spf=none smtp.mailfrom=bombadil.srs.infradead.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b=RCIW0InT; arc=none smtp.client-ip=198.137.202.133 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=bombadil.srs.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=In-Reply-To:Content-Transfer-Encoding :Content-Type:MIME-Version:References:Message-ID:Subject:Cc:To:From:Date: Sender:Reply-To:Content-ID:Content-Description; bh=Tbk+wAckI7ORsUezlOoBQgzIj7S/QOcUIP0Sm5u3+ZQ=; b=RCIW0InT9c6CkHpwaXWKUslILM wfV9AWbKMedHc/FwlBmxyT8cdpp7PLtOn9mWgY4CASuTe5E6GH3InTKuzibwwV9cu8g0UXm3csKcY jJoihHKXsjC3/Aio3Ana0S6Idpg+43QklOI9jd6SGwkDjLzPXWqs5edFmkSyVSyHm5rQBqxsSUkl8 js2TFxYLQG+/BPTuZEqhT8MK83kMuLTJfrsX4NR+QATb9X4UdG8Pk7vzKlqqHllilH363uhQR4y/F A01rvslh3xmh0Hb6pPHDkr5hWgflcM1P9NKVFVYt9n2DF+cr6+frnNETe5mGgJ1uOV7PkoRCmYgmX 38kGJr2g==; Received: from hch by bombadil.infradead.org with local (Exim 4.97.1 #2 (Red Hat Linux)) id 1s9QPL-00000000AG1-0CtD; Tue, 21 May 2024 14:24:03 +0000 Date: Tue, 21 May 2024 07:24:03 -0700 From: Christoph Hellwig To: =?iso-8859-1?Q?H=E5kon?= Bugge Cc: linux-rdma@vger.kernel.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, rds-devel@oss.oracle.com, Jason Gunthorpe , Leon Romanovsky , Saeed Mahameed , Tariq Toukan , "David S . Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Tejun Heo , Lai Jiangshan , Allison Henderson , Manjunath Patil , Mark Zhang , Chuck Lever , Shiraz Saleem , Yang Li Subject: Re: [PATCH v2 0/6] rds: rdma: Add ability to force GFP_NOIO Message-ID: References: <20240515125342.1069999-1-haakon.bugge@oracle.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20240515125342.1069999-1-haakon.bugge@oracle.com> X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html On Wed, May 15, 2024 at 02:53:36PM +0200, H?kon Bugge wrote: > This series enables RDS and the RDMA stack to be used as a block I/O > device. This to support a filesystem on top of a raw block device > which uses RDS and the RDMA stack as the network transport layer. > > Under intense memory pressure, we get memory reclaims. Assume the > filesystem reclaims memory, goes to the raw block device, which calls > into RDS, which calls the RDMA stack. Now, if regular GFP_KERNEL > allocations in RDS or the RDMA stack require reclaims to be fulfilled, > we end up in a circular dependency. Use of network block devices or file systems from the local system simply isn't supported in the Linux reclaim hierchary. Trying to hack in through module options for code you haven't even submitted is a complete nogo. NAK.