]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
libcephfs_proxy: fully initialize async I/O structure 62783/head
authorXavi Hernandez <xhernandez@gmail.com>
Fri, 11 Apr 2025 14:15:05 +0000 (16:15 +0200)
committerXavi Hernandez <xhernandez@gmail.com>
Mon, 14 Apr 2025 09:07:28 +0000 (11:07 +0200)
commita5e90ff89b85f2686830a7371348ca0766554cb1
tree1a8586531f1e7021cbc37bb5bbab6445143caf43
parente3f06b822a30f051ab6d44d68dd9f4597b0e5a17
libcephfs_proxy: fully initialize async I/O structure

The ceph_ll_io_info structure has recently been extended to support
zerocopy operations. The proxy was initializing just the known members,
so, after the zerocopy support, it was passing garbage in some fields,
causing failures.

This patch completely clears the whole structure to be sure that
everything is initialized to its default value.

Signed-off-by: Xavi Hernandez <xhernandez@gmail.com>
src/libcephfs_proxy/libcephfsd.c