From mboxrd@z Thu Jan 1 00:00:00 1970 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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 95218C433EF for ; Tue, 16 Nov 2021 21:50:40 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 2C65361B08 for ; Tue, 16 Nov 2021 21:50:40 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 2C65361B08 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=suse.de Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=kvack.org Received: by kanga.kvack.org (Postfix) id B82456B0071; Tue, 16 Nov 2021 16:50:29 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id B304C6B0072; Tue, 16 Nov 2021 16:50:29 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 9D2126B0073; Tue, 16 Nov 2021 16:50:29 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0184.hostedemail.com [216.40.44.184]) by kanga.kvack.org (Postfix) with ESMTP id 90A8E6B0071 for ; Tue, 16 Nov 2021 16:50:29 -0500 (EST) Received: from smtpin07.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay04.hostedemail.com (Postfix) with ESMTP id 595C88699D for ; Tue, 16 Nov 2021 21:50:19 +0000 (UTC) X-FDA: 78816137358.07.2D05455 Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.220.28]) by imf31.hostedemail.com (Postfix) with ESMTP id D50421052982 for ; Tue, 16 Nov 2021 21:50:18 +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 BCE69218D5; Tue, 16 Nov 2021 21:50:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1637099417; 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: in-reply-to:in-reply-to:references:references; bh=/gL7DBnCzzHBpZNy+wcyNtKZAKIyGR6LzGBNGBYRfKE=; b=VfHPUYIKrd/YymGiAVQcJATECW7/WvtAYOvtMVs9V1WwbsWIfV5IrEvtm1j605mkVWHg5j cKcBSF7MPngf4upF2w0PB/pMsx0MrWFL2eFjv8g71GykbOtafVM3ljKcHWXEAUMRC6L3Cf /XlHA8YFb2gMKz0b7lh1mlRgCVVfbEU= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1637099417; 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: in-reply-to:in-reply-to:references:references; bh=/gL7DBnCzzHBpZNy+wcyNtKZAKIyGR6LzGBNGBYRfKE=; b=ABuCVnbjJ59Pj6kogKNCLmQ0qsQOrNuUJ2vOufjBfhMxvvcXMc/rv14P9aKRdEyOUf2STH DmSOlX9VkOgErhBw== 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 1F70413C5E; Tue, 16 Nov 2021 21:50:14 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id GnRnM5YnlGEFIgAAMHmgww (envelope-from ); Tue, 16 Nov 2021 21:50:14 +0000 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit MIME-Version: 1.0 From: "NeilBrown" To: "Christoph Hellwig" Cc: "Trond Myklebust" , "Anna Schumaker" , "Chuck Lever" , "Andrew Morton" , "Mel Gorman" , linux-nfs@vger.kernel.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 02/13] NFS: do not take i_rwsem for swap IO In-reply-to: References: <163702956672.25805.16457749992977493579.stgit@noble.brown>, <163703064452.25805.5738767545414940042.stgit@noble.brown>, Date: Wed, 17 Nov 2021 08:50:12 +1100 Message-id: <163709941227.13692.8504638930849686895@noble.neil.brown.name> X-Rspamd-Server: rspam07 X-Rspamd-Queue-Id: D50421052982 X-Stat-Signature: 7ne1sstkgsmb5e6ay4sefr5fjh7erudx Authentication-Results: imf31.hostedemail.com; dkim=pass header.d=suse.de header.s=susede2_rsa header.b=VfHPUYIK; dkim=pass header.d=suse.de header.s=susede2_ed25519 header.b=ABuCVnbj; dmarc=pass (policy=none) header.from=suse.de; spf=pass (imf31.hostedemail.com: domain of neilb@suse.de designates 195.135.220.28 as permitted sender) smtp.mailfrom=neilb@suse.de X-HE-Tag: 1637099418-647734 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: On Tue, 16 Nov 2021, Christoph Hellwig wrote: > I'd really much prefer the variant we discussed before where > swap I/O uses it's own method instead of overloading the normal > file I/O path all over. > > This would be David Howells' "mm: Use DIO for swap and fix NFS swapfiles" series? I'd be very happy to work with that once it lands. I might try it out and see how two work together. Thanks, NeilBrown