Re: [PATCH] libradosstriper: correct the first parameter of rados_striper_trunc

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



it is done. please look at https://github.com/ceph/ceph/pull/20301
thanks

On Sat, Feb 3, 2018 at 3:20 AM, Yehuda Sadeh-Weinraub <yehuda@xxxxxxxxxx> wrote:
> Can you create a pull request for it on github?
>
> Yehuda
>
> On Fri, Feb 2, 2018 at 12:18 AM, yue longguang <yuelongguang@xxxxxxxxx> wrote:
>> yehuda, please review my patch. thanks
>>
>> On Thu, Feb 1, 2018 at 4:56 PM, yuelongguang <yuelongguang@xxxxxxxxx> wrote:
>>> change the type of first parameter from rados_ioctx_t to rados_striper_t
>>> ---
>>>  src/include/radosstriper/libradosstriper.h | 3 ++-
>>>  1 file changed, 2 insertions(+), 1 deletion(-)
>>>
>>> diff --git a/src/include/radosstriper/libradosstriper.h b/src/include/radosstriper/libradosstriper.h
>>> index 5aa4a6b..4d552c6 100644
>>> --- a/src/include/radosstriper/libradosstriper.h
>>> +++ b/src/include/radosstriper/libradosstriper.h
>>> @@ -207,7 +207,8 @@ int rados_striper_remove(rados_striper_t striper,
>>>   * @param size the new size of the object in bytes
>>>   * @returns 0 on success, negative error code on failure
>>>   */
>>> -int rados_striper_trunc(rados_ioctx_t io, const char *soid, uint64_t size);
>>> +int rados_striper_trunc(rados_striper_t striper,
>>> +                        const char *soid, uint64_t size);
>>>
>>>  /** @} Synchronous I/O */
>>>
>>> --
>>> 1.8.3.1
>>>
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux