Re: [PATCH 1/3] block: bdrv_child_get_parent_aio_context is not GS

2022-10-07 Thread Kevin Wolf
Am 23.09.2022 um 14:52 hat Hanna Reitz geschrieben: > All implementations of bdrv_child_get_parent_aio_context() are IO_CODE > (or do not mark anything in the case of block jobs), so this too can be > IO_CODE. By the definition of "I/O API functions" in block-io.h, this > is a strict relaxation,

[PATCH 1/3] block: bdrv_child_get_parent_aio_context is not GS

2022-09-23 Thread Hanna Reitz
All implementations of bdrv_child_get_parent_aio_context() are IO_CODE (or do not mark anything in the case of block jobs), so this too can be IO_CODE. By the definition of "I/O API functions" in block-io.h, this is a strict relaxation, as I/O code can be run from both GS and I/O code