On 4/15/25 7:51 AM, Jens Axboe wrote:
On x86, rep stos will be emitted to clear the the blk_mq_alloc_data struct, as not all members are being initialied.
"Partial initialization" never happens in the C language when initializing a data structure. If a data structure is initialized,members that have not been specified are initialized to zero (the compiler is not required to initialize padding bytes). In other words,
the description of this patch needs to be improved. Thanks, Bart.