You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi. Which compiler did you use? There's an anonymous union which doesn't work really well with all compilers, but for debian buster-bullseye-sid and for centos 7-8-9 gcc and llvm it works fine.
In file osd_primary_subops.cpp, its function submit_primary_stab_subops maybe lost a couple of brace for member "len" of struct blockstore_op_t
void osd_t::submit_primary_stab_subops(osd_op_t *cur_op)
{
……
subops[i].bs_op = new blockstore_op_t((blockstore_op_t){
.opcode = BS_OP_STABLE,
.callback = [subop = &subops[i], this](blockstore_op_t bs_subop)
{
handle_primary_bs_subop(subop);
},
{
.len = (uint32_t)stab_osd.len,
},
.buf = (void)(op_data->unstable_writes + stab_osd.start),
});
bs->enqueue_op(subops[i].bs_op);
}
……
}
The text was updated successfully, but these errors were encountered: