libradosstriper: correct the first parameter of rados_striper_trunc
A message that is not in the archive (sent off-list or not yet received): [email protected]
yehuda, please review my patch. thanks
Quoted 22 lines · yuelongguang
change the type of first parameter from
rados_ioctx_ttorados_striper_t--- src/include/radosstriper/libradosstriper.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)src/include/radosstriper/libradosstriper.h +2
-2@@ -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
Can you create a pull request for it on github?
Yehuda
Quoted 25 lines · yue longguang
yehuda, please review my patch. thanks
Quoted 22 lines · yuelongguang
change the type of first parameter from
rados_ioctx_ttorados_striper_t--- src/include/radosstriper/libradosstriper.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)src/include/radosstriper/libradosstriper.h +2
-2@@ -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
it is done. please look at https://github.com/ceph/ceph/pull/20301
thanks
Quoted 30 lines · Yehuda Sadeh-Weinraub
Can you create a pull request for it on github?
Yehuda
Quoted 25 lines · yue longguang
yehuda, please review my patch. thanks
Quoted 22 lines · yuelongguang
change the type of first parameter from
rados_ioctx_ttorados_striper_t--- src/include/radosstriper/libradosstriper.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)src/include/radosstriper/libradosstriper.h +2
-2@@ -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