Re: [PATCH v2 1/2] ceph: libceph: move ceph_osdc_copy_from() into cephfs code

From: Luís Henriques
Date: Mon Nov 08 2021 - 05:30:47 EST


Hi Ilya,

On Mon, Nov 08, 2021 at 04:46:40AM +0100, Ilya Dryomov wrote:
> On Thu, Nov 4, 2021 at 1:31 PM Luís Henriques <lhenriques@xxxxxxx> wrote:
> >
> > This patch moves ceph_osdc_copy_from() function out of libceph code into
> > cephfs. There are no other users for this function, and there is the need
> > (in another patch) to access internal ceph_osd_request struct members.
> > Thus, instead of changing ceph_osdc_copy_from() to return the request,
> > simply move it where it is needed.
>
> Hi Luis,
>
> ceph_alloc_copyfrom_request() does exactly that -- returns the request.
> I have dropped this sentence from the changelog but wanted to check if
> you meant to keep the change instead of just moving and renaming.

Dropping that sentence seems the right thing to do. I've just checked the
'testing' branch and the changelog looks good to me. Thanks!

Cheers,
--
Luís