Re: [PATCH v2] ceph: allow object copies across different filesystems in the same cluster

2019-09-10 Thread Luis Henriques
Gregory Farnum writes: > On Mon, Sep 9, 2019 at 4:15 AM Luis Henriques wrote: >> >> "Jeff Layton" writes: >> >> > On Mon, 2019-09-09 at 11:28 +0100, Luis Henriques wrote: >> >> OSDs are able to perform object copies across different pools. Thus, >> >> there's no need to prevent

Re: [PATCH v2] ceph: allow object copies across different filesystems in the same cluster

2019-09-09 Thread Gregory Farnum
On Mon, Sep 9, 2019 at 4:15 AM Luis Henriques wrote: > > "Jeff Layton" writes: > > > On Mon, 2019-09-09 at 11:28 +0100, Luis Henriques wrote: > >> OSDs are able to perform object copies across different pools. Thus, > >> there's no need to prevent copy_file_range from doing remote copies if the

Re: [PATCH v2] ceph: allow object copies across different filesystems in the same cluster

2019-09-09 Thread Jeff Layton
On Mon, 2019-09-09 at 14:55 +0100, Luis Henriques wrote: > "Jeff Layton" writes: > > > On Mon, 2019-09-09 at 06:35 -0400, Jeff Layton wrote: > > > On Mon, 2019-09-09 at 11:28 +0100, Luis Henriques wrote: > > > > OSDs are able to perform object copies across different pools. Thus, > > > >

Re: [PATCH v2] ceph: allow object copies across different filesystems in the same cluster

2019-09-09 Thread Luis Henriques
"Jeff Layton" writes: > On Mon, 2019-09-09 at 06:35 -0400, Jeff Layton wrote: >> On Mon, 2019-09-09 at 11:28 +0100, Luis Henriques wrote: >> > OSDs are able to perform object copies across different pools. Thus, >> > there's no need to prevent copy_file_range from doing remote copies if the >>

Re: [PATCH v2] ceph: allow object copies across different filesystems in the same cluster

2019-09-09 Thread Luis Henriques
"Jeff Layton" writes: > On Mon, 2019-09-09 at 11:28 +0100, Luis Henriques wrote: >> OSDs are able to perform object copies across different pools. Thus, >> there's no need to prevent copy_file_range from doing remote copies if the >> source and destination superblocks are different. Only

Re: [PATCH v2] ceph: allow object copies across different filesystems in the same cluster

2019-09-09 Thread Jeff Layton
On Mon, 2019-09-09 at 06:35 -0400, Jeff Layton wrote: > On Mon, 2019-09-09 at 11:28 +0100, Luis Henriques wrote: > > OSDs are able to perform object copies across different pools. Thus, > > there's no need to prevent copy_file_range from doing remote copies if the > > source and destination

Re: [PATCH v2] ceph: allow object copies across different filesystems in the same cluster

2019-09-09 Thread Ilya Dryomov
On Mon, Sep 9, 2019 at 12:29 PM Luis Henriques wrote: > > OSDs are able to perform object copies across different pools. Thus, > there's no need to prevent copy_file_range from doing remote copies if the > source and destination superblocks are different. Only return -EXDEV if > they have

Re: [PATCH v2] ceph: allow object copies across different filesystems in the same cluster

2019-09-09 Thread Jeff Layton
On Mon, 2019-09-09 at 11:28 +0100, Luis Henriques wrote: > OSDs are able to perform object copies across different pools. Thus, > there's no need to prevent copy_file_range from doing remote copies if the > source and destination superblocks are different. Only return -EXDEV if > they have

[PATCH v2] ceph: allow object copies across different filesystems in the same cluster

2019-09-09 Thread Luis Henriques
OSDs are able to perform object copies across different pools. Thus, there's no need to prevent copy_file_range from doing remote copies if the source and destination superblocks are different. Only return -EXDEV if they have different fsid (the cluster ID). Signed-off-by: Luis Henriques ---