Re: [PATCH v7 2/6] mm: export add_swap_extent()

2018-10-12 Thread Andrew Morton
On Tue, 11 Sep 2018 15:34:45 -0700 Omar Sandoval wrote: > From: Omar Sandoval > > Btrfs will need this for swap file support. > Acked-by: Andrew Morton

Re: [PATCH v7 2/6] mm: export add_swap_extent()

2018-09-19 Thread Johannes Weiner
On Wed, Sep 19, 2018 at 11:28:00AM -0700, Omar Sandoval wrote: > On Wed, Sep 19, 2018 at 02:09:09PM -0400, Johannes Weiner wrote: > > On Tue, Sep 11, 2018 at 03:34:45PM -0700, Omar Sandoval wrote: > > > From: Omar Sandoval > > > > > > Btrfs will need this for swap file support. > > > > > > Signe

Re: [PATCH v7 2/6] mm: export add_swap_extent()

2018-09-19 Thread Omar Sandoval
On Wed, Sep 19, 2018 at 02:09:09PM -0400, Johannes Weiner wrote: > On Tue, Sep 11, 2018 at 03:34:45PM -0700, Omar Sandoval wrote: > > From: Omar Sandoval > > > > Btrfs will need this for swap file support. > > > > Signed-off-by: Omar Sandoval > > That looks reasonable. After reading the last p

Re: [PATCH v7 2/6] mm: export add_swap_extent()

2018-09-19 Thread Johannes Weiner
On Tue, Sep 11, 2018 at 03:34:45PM -0700, Omar Sandoval wrote: > From: Omar Sandoval > > Btrfs will need this for swap file support. > > Signed-off-by: Omar Sandoval That looks reasonable. After reading the last patch, it's somewhat understandable why you cannot simply implemnet ->bmap and use

[PATCH v7 2/6] mm: export add_swap_extent()

2018-09-11 Thread Omar Sandoval
From: Omar Sandoval Btrfs will need this for swap file support. Signed-off-by: Omar Sandoval --- mm/swapfile.c | 1 + 1 file changed, 1 insertion(+) diff --git a/mm/swapfile.c b/mm/swapfile.c index d3f95833d12e..51cb30de17bc 100644 --- a/mm/swapfile.c +++ b/mm/swapfile.c @@ -2365,6 +2365,7 @@