Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp2460798pxb; Sat, 25 Sep 2021 07:58:12 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxzY9ez9f/MmhQ8QcQZp/+WvIoKWVvTK+8dhvoXNeMv73GKKCjauC7Qbii6EWxm1w5GfEbv X-Received: by 2002:a05:6402:897:: with SMTP id e23mr11800498edy.366.1632581892046; Sat, 25 Sep 2021 07:58:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632581892; cv=none; d=google.com; s=arc-20160816; b=PMcgM7wGN1mVg+3ZL8aUHGF6Eq06ioYI0LzJt0uDvwCPoLPnIrygWRknV9a8VaCv/d scC50eDaDcw/vx6B1OCW7fp8Xlt5sXOMPRfPZWqkfkceemX/h113FYT2AlLYogSKlyn7 kbSHOS3NBjJZWM2mtBLC9BAq7sr9RHqwC5DRbBPj4exW5TwtpPQp6hZS5dHMrw8LkUTc PhdURsWJpW5vuVUVHaeQ7P+pwLFOQ4H0hEsom9idSDZZxLf5tPbfx5uIKD1KJ+kByC68 2j3Ld/HsRuXsADxEHr/3nuSKMJ3xeDtBC10NZE5vGzM6z/wWZ78JQkx5WoumMX0joVW1 4UPw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=PyFYuyGZybL7cSTK0f665wfGUh8dtwTELe7jzY8FD1U=; b=Whb6fTEmg6Uvv7j0PGuVuIfbI1rQjNuTcMpNl67jFqOJd6ZitpmN+W80FXCLGSOsTo pStVtkYXzTgHJ2WyzNMkSNrjqz937tyMG/PLPTcCNT8K36P5osA8yvBrw5M9k65JNHFL Mf9lTGdK3cgZ9hYqUK2HX1S+XtFsMzR4dNieMnmpI+xBXNtCzrx+XNruVKGKoJUq6ijY wcNtciSldgnm3nbE8rS/tKLY9WjZXtiXwJG3d0PrumJk8t/9t1BTd5afNWAgh//NwD8k SB3jM/wiPOgPdM2sFl0kFHBAkvblnsrQqiPLlPBpSDEXisAipnw0YB8BkdRLSFkGv9Ew nLtg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=G8TN7Wia; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id j15si12837096edr.107.2021.09.25.07.57.35; Sat, 25 Sep 2021 07:58:12 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=G8TN7Wia; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1343802AbhIYO7H (ORCPT + 99 others); Sat, 25 Sep 2021 10:59:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52544 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234173AbhIYO7H (ORCPT ); Sat, 25 Sep 2021 10:59:07 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D4659C061570; Sat, 25 Sep 2021 07:57:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=PyFYuyGZybL7cSTK0f665wfGUh8dtwTELe7jzY8FD1U=; b=G8TN7WiaFixroDwBeMBD/BPUaJ qThH/nviuNwMQjvjmzk5nEYoPB0Tesoef21VSwULA6cbYUS760umGbUtQR33MtNHktReSp38Q1Zx3 q0g/iUSA0juTjCeCPzefvXHQnY1ZdIXXNZdZg0wemCk7jWS91mlmeCYEq8TkNE69ERMgNaiXZk4tX fIV6QgFBgBxJ67EPz7q4tZdsism+N4M3GXQ2IZc4GhftzXgGiAcG2UxjcVE2XvIk7Fwx/g29V7zkW DtIP+qQjmjVbihZ1+8eMs3KcT9fHmT0W2NkOX6DusUpkqjc1xp5U7AYcs5P85A6CPk7OENlX1tcgY QXREXmGA==; Received: from willy by casper.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1mU96b-008BsC-Hu; Sat, 25 Sep 2021 14:56:54 +0000 Date: Sat, 25 Sep 2021 15:56:45 +0100 From: Matthew Wilcox To: David Howells Cc: hch@lst.de, trond.myklebust@primarydata.com, Jens Axboe , "Darrick J. Wong" , linux-block@vger.kernel.org, linux-xfs@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-mm@kvack.org, darrick.wong@oracle.com, viro@zeniv.linux.org.uk, jlayton@kernel.org, torvalds@linux-foundation.org, linux-nfs@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v3 9/9] mm: Remove swap BIO paths and only use DIO paths Message-ID: References: <163250387273.2330363.13240781819520072222.stgit@warthog.procyon.org.uk> <163250396319.2330363.10564506508011638258.stgit@warthog.procyon.org.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <163250396319.2330363.10564506508011638258.stgit@warthog.procyon.org.uk> Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org On Fri, Sep 24, 2021 at 06:19:23PM +0100, David Howells wrote: > Delete the BIO-generating swap read/write paths and always use ->swap_rw(). > This puts the mapping layer in the filesystem. Is SWP_FS_OPS now unused after this patch? Also, do we still need ->swap_activate and ->swap_deactivate?