mbox series

[V2,0/2] Move swap functions out of address space operations

Message ID 20191113004244.9981-1-ira.weiny@intel.com (mailing list archive)
Headers show
Series Move swap functions out of address space operations | expand

Message

Ira Weiny Nov. 13, 2019, 12:42 a.m. UTC
From: Ira Weiny <ira.weiny@intel.com>

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

 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(-)

Comments

Ira Weiny Nov. 14, 2019, 11:19 p.m. UTC | #1
On Tue, Nov 12, 2019 at 04:42:42PM -0800, 'Ira Weiny' wrote:
> From: Ira Weiny <ira.weiny@intel.com>
> 
> 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
>