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 X-Spam-Level: X-Spam-Status: No, score=-2.2 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id A2CD8C432C3 for ; Thu, 14 Nov 2019 23:19:29 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 6F496206F0 for ; Thu, 14 Nov 2019 23:19:29 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 6F496206F0 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=intel.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 1980F6B0005; Thu, 14 Nov 2019 18:19:29 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 147E56B0006; Thu, 14 Nov 2019 18:19:29 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 036806B0007; Thu, 14 Nov 2019 18:19:28 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0174.hostedemail.com [216.40.44.174]) by kanga.kvack.org (Postfix) with ESMTP id E224E6B0005 for ; Thu, 14 Nov 2019 18:19:28 -0500 (EST) Received: from smtpin03.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay05.hostedemail.com (Postfix) with SMTP id A89C5181AEF1A for ; Thu, 14 Nov 2019 23:19:28 +0000 (UTC) X-FDA: 76156451616.03.frogs56_52a0a61411136 X-HE-Tag: frogs56_52a0a61411136 X-Filterd-Recvd-Size: 2835 Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by imf44.hostedemail.com (Postfix) with ESMTP for ; Thu, 14 Nov 2019 23:19:27 +0000 (UTC) X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 14 Nov 2019 15:19:25 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.68,306,1569308400"; d="scan'208";a="207950534" Received: from iweiny-desk2.sc.intel.com ([10.3.52.157]) by orsmga003.jf.intel.com with ESMTP; 14 Nov 2019 15:19:24 -0800 Date: Thu, 14 Nov 2019 15:19:24 -0800 From: Ira Weiny To: Andrew Morton Cc: Chris Mason , Josef Bacik , David Sterba , Jaegeuk Kim , Chao Yu , linux-xfs@vger.kernel.org, linux-fsdevel@vger.kernel.org, Trond Myklebust , Anna Schumaker , linux-btrfs@vger.kernel.org, linux-kernel@vger.kernel.org, linux-f2fs-devel@lists.sourceforge.net, linux-nfs@vger.kernel.org, linux-mm@kvack.org Subject: Re: [PATCH V2 0/2] Move swap functions out of address space operations Message-ID: <20191114231924.GA4370@iweiny-DESK2.sc.intel.com> References: <20191113004244.9981-1-ira.weiny@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20191113004244.9981-1-ira.weiny@intel.com> User-Agent: Mutt/1.11.1 (2018-12-01) 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, Nov 12, 2019 at 04:42:42PM -0800, 'Ira Weiny' wrote: > From: Ira Weiny > > As suggested by Jan Kara, move swap_[de]activate to file_operations to simplify > address space operations for coming changes. > > I'm not sure if this should go through Al Viro or Andrew Morton so I'm sending > it to both of you. Sorry if this is a problem. Let me know if there is > something else I should do. > > Ira Weiny (2): > fs: Clean up mapping variable > fs: Move swap_[de]activate to file_operations There should have been an update to the documentation with this. I have a 3rd patch which I'm sending separately. Ira > > fs/btrfs/file.c | 341 ++++++++++++++++++++++++++++++++++++++++++++ > fs/btrfs/inode.c | 340 ------------------------------------------- > fs/f2fs/data.c | 123 ---------------- > fs/f2fs/file.c | 122 ++++++++++++++++ > fs/iomap/swapfile.c | 3 +- > fs/nfs/file.c | 4 +- > fs/xfs/xfs_aops.c | 13 -- > fs/xfs/xfs_file.c | 12 ++ > include/linux/fs.h | 10 +- > mm/swapfile.c | 12 +- > 10 files changed, 488 insertions(+), 492 deletions(-) > > -- > 2.21.0 >