Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp8313099ybc; Fri, 29 Nov 2019 08:34:04 -0800 (PST) X-Google-Smtp-Source: APXvYqwLwyw/rNxfmrx/IRkCt0ixb0VNFXjLwlcXf76UtYVaBZBfyOX3V3FOLSjC9zcB8uPxHq3e X-Received: by 2002:aa7:de03:: with SMTP id h3mr84927edv.190.1575045244320; Fri, 29 Nov 2019 08:34:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1575045244; cv=none; d=google.com; s=arc-20160816; b=TEUDSIu1y4ZMpraRzZKVRtk6a/JgLEG85NxiL2MvkRpGACCXJtP3/+gxcYwShjMYOe bokNRwPD7hDRn6m+dEKS9vvNvAJzal+Zap/cjkak8jDQADv0LA6GOIaeiZfim4cEJNxy i6tbfkvQV6taXE/ZMTTWlfRpMYwTrRZT2b5WBSD6zdIqjGMcAI0EGjlnps2/MIY2V4kT QI3OJnFAGHS8NGEpn6tgvfDYFezfbZgUF/2p0juDWAis4kReFS1tQR0xEJSSdJKf7FXZ PUWvLXyGWZ20arLHJaAtDM4PhkkIgAqA7PAapTlU5jE/rJF+UEguSg4JG9OzwDhsCv7M 6n9A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=/fqt55INM/owVrDhn5wTYf1F/LyXZSf1Q5OWFfIKcE4=; b=vRZVowKfNxaSX6ydsQg+Q+qxB5lJmGpm2Bu2BbnOv6bqvUkM9bS70nT82uoW23c+Uq ThYrpW4WoWY1ds8Ljtn39s6Grx0L74k+qIpgl/XZrcsS0ssumkDIHf5bC8y5c8cCOgRe edarzeMvoNeTLs7Yl7Jitck5eWswFfFP9r+D9flJOg61tgR0cN6yCkU225sOmwRlQ+kU OD+0oW4A6nfobP/cn4WzE4+NHEGbm4Qmp7IcXCeeSdyOCTAWPo8iusAgWtCQMBKJoHDK fTRvNHnaXTs/ODA3EaEdcHNBjzzO1XoKyuiTUDqiVE22kzW99z8ewX+kZ8NTWTGjiL3L qbaA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-nfs-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l10si14745866ejb.336.2019.11.29.08.33.27; Fri, 29 Nov 2019 08:34:04 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-nfs-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-nfs-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727130AbfK2QdG (ORCPT + 99 others); Fri, 29 Nov 2019 11:33:06 -0500 Received: from mga05.intel.com ([192.55.52.43]:43095 "EHLO mga05.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726970AbfK2QdG (ORCPT ); Fri, 29 Nov 2019 11:33:06 -0500 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga105.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 29 Nov 2019 08:33:06 -0800 X-IronPort-AV: E=Sophos;i="5.69,257,1571727600"; d="scan'208";a="234751020" Received: from iweiny-desk2.sc.intel.com (HELO localhost) ([10.3.52.157]) by fmsmga004-auth.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 29 Nov 2019 08:33:05 -0800 From: ira.weiny@intel.com To: Andrew Morton Cc: Alexander Viro , 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, Ira Weiny Subject: [PATCH V3 0/3] Move swap functions out of address space operations Date: Fri, 29 Nov 2019 08:32:57 -0800 Message-Id: <20191129163300.14749-1-ira.weiny@intel.com> X-Mailer: git-send-email 2.21.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-nfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org From: Ira Weiny As suggested by Jan Kara, move swap_[de]activate to file_operations to simplify address space operations for coming changes. For this version (V3): 1) updated to the latest linux-next 2) added documentation patch to the series 3) add reviews/acks 4) fixed up a slight conflict in btrfs pointed out by David Ira Weiny (3): fs: Clean up mapping variable fs: Move swap_[de]activate to file_operations Documentation/fs: Move swap_[de]activate() to file_operations Documentation/filesystems/vfs.rst | 24 +-- 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 +- 11 files changed, 500 insertions(+), 504 deletions(-) -- 2.21.0