Re: [PATCH 15/15] xfs: Use the new iomap infrastructure for CoW

2019-09-06 Thread Dave Chinner
On Fri, Sep 06, 2019 at 06:55:07PM +0200, Christoph Hellwig wrote: > On Thu, Sep 05, 2019 at 10:06:50AM -0500, Goldwyn Rodrigues wrote: > > diff --git a/fs/xfs/xfs_iomap.c b/fs/xfs/xfs_iomap.c > > index 8321733c16c3..13495d8a1ee2 100644 > > --- a/fs/xfs/xfs_iomap.c > > +++ b/fs/xfs/xfs_iomap.c > >

Re: [PATCH 15/15] xfs: Use the new iomap infrastructure for CoW

2019-09-06 Thread Christoph Hellwig
On Thu, Sep 05, 2019 at 10:06:50AM -0500, Goldwyn Rodrigues wrote: > diff --git a/fs/xfs/xfs_iomap.c b/fs/xfs/xfs_iomap.c > index 8321733c16c3..13495d8a1ee2 100644 > --- a/fs/xfs/xfs_iomap.c > +++ b/fs/xfs/xfs_iomap.c > @@ -1006,7 +1006,10 @@ xfs_file_iomap_begin( >*/ >

[PATCH 15/15] xfs: Use the new iomap infrastructure for CoW

2019-09-05 Thread Goldwyn Rodrigues
From: Goldwyn Rodrigues Set the IOMAP_F_COW flag and create the srcmap based on current extents to read from. Signed-off-by: Goldwyn Rodrigues --- fs/xfs/xfs_iomap.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/fs/xfs/xfs_iomap.c b/fs/xfs/xfs_iomap.c index 8321733c16c3..13495d8a1ee2