[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20191112133348.GJ1241@quack2.suse.cz>
Date: Tue, 12 Nov 2019 14:33:48 +0100
From: Jan Kara <jack@...e.cz>
To: Andrew Morton <akpm@...ux-foundation.org>
Cc: ira.weiny@...el.com, Alexander Viro <viro@...iv.linux.org.uk>,
Chris Mason <clm@...com>, Josef Bacik <josef@...icpanda.com>,
David Sterba <dsterba@...e.com>,
Jaegeuk Kim <jaegeuk@...nel.org>, Chao Yu <chao@...nel.org>,
linux-xfs@...r.kernel.org, linux-fsdevel@...r.kernel.org,
Trond Myklebust <trond.myklebust@...merspace.com>,
Anna Schumaker <anna.schumaker@...app.com>,
linux-btrfs@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-f2fs-devel@...ts.sourceforge.net, linux-nfs@...r.kernel.org,
linux-mm@...ck.org, Dave Chinner <david@...morbit.com>,
Jan Kara <jack@...e.cz>
Subject: Re: [PATCH 2/2] fs: Move swap_[de]activate to file_operations
On Mon 11-11-19 16:43:20, Andrew Morton wrote:
> On Mon, 11 Nov 2019 16:34:52 -0800 ira.weiny@...el.com wrote:
>
> > From: Ira Weiny <ira.weiny@...el.com>
> >
> > swap_activate() and swap_deactivate() have nothing to do with
> > address spaces. We want to eventually make the address space operations
> > dynamic to switch inode flags on the fly.
>
> What does this mean?
See my reply to Christoph [1]. Ira wants to make switching inodes between
DAX and non-DAX mode work which means switching also
address_space_operations pointer in the mapping.
Honza
[1] lore.kernel.org/r/20191112133055.GI1241@...ck2.suse.cz
--
Jan Kara <jack@...e.com>
SUSE Labs, CR
Powered by blists - more mailing lists