Am 18/07/2022 um 10:45 schrieb Emanuele Giuseppe Esposito: > > > Am 15/07/2022 um 16:34 schrieb Hanna Reitz: >> On 12.07.22 23:19, Emanuele Giuseppe Esposito wrote: >>> Together with all _can_set_ and _set_ APIs, as they are not needed >>> anymore. >>> >>> Signed-off-by: Emanuele Giuseppe Esposito <eespo...@redhat.com> >>> --- >>> block.c | 196 ----------------------------- >>> block/block-backend.c | 33 ----- >>> blockjob.c | 35 ------ >>> include/block/block-global-state.h | 9 -- >>> include/block/block_int-common.h | 4 - >>> 5 files changed, 277 deletions(-) >> >> Looks good! I’d just like a follow-up commit that also drops >> bdrv_try_set_aio_context(), so it’s all gone (I think that’s the final >> remnant?). >> > > It's the same for me, I thought renaming bdrv_try_set_aio_context was a > little bit unnecessary. You want to rename it to something else, or > directly call bdrv_child_try_change_aio_context? Wait we have 2 functions that need to be renamed: - bdrv_child_try_change_aio_context, called only once in block-backend because we need the ignore_child parameter. - bdrv_try_set_aio_context, public, called everywhere, wraps bdrv_child_try_change_aio_context setting ignore_child=NULL. Name suggestions? > > I agree with the rest of comments in this series :) > > Emanuele >
- [RFC PATCH 7/8] block: use the new _change_ A... Emanuele Giuseppe Esposito
- Re: [RFC PATCH 7/8] block: use the new _... Hanna Reitz
- Re: [RFC PATCH 7/8] block: use the new _... Paolo Bonzini
- Re: [RFC PATCH 7/8] block: use the new _... Paolo Bonzini
- Re: [RFC PATCH 7/8] block: use the n... Emanuele Giuseppe Esposito
- Re: [RFC PATCH 7/8] block: use t... Paolo Bonzini
- Re: [RFC PATCH 7/8] block: u... Emanuele Giuseppe Esposito
- [RFC PATCH 8/8] block: remove all unused ->... Emanuele Giuseppe Esposito
- Re: [RFC PATCH 8/8] block: remove all un... Hanna Reitz
- Re: [RFC PATCH 8/8] block: remove al... Emanuele Giuseppe Esposito
- Re: [RFC PATCH 8/8] block: remov... Emanuele Giuseppe Esposito
- [RFC PATCH 3/8] RFC: block: use transactions ... Emanuele Giuseppe Esposito
- Re: [RFC PATCH 3/8] RFC: block: use tran... Hanna Reitz
- Re: [RFC PATCH 3/8] RFC: block: use ... Emanuele Giuseppe Esposito
- Re: [RFC PATCH 3/8] RFC: block: use ... Emanuele Giuseppe Esposito
- Re: [RFC PATCH 3/8] RFC: block: use tran... Vladimir Sementsov-Ogievskiy
- Re: [RFC PATCH 3/8] RFC: block: use ... Emanuele Giuseppe Esposito
- [RFC PATCH 6/8] block-backend: implement .cha... Emanuele Giuseppe Esposito
- Re: [RFC PATCH 6/8] block-backend: imple... Hanna Reitz
- [RFC PATCH 4/8] blockjob: implement .change_a... Emanuele Giuseppe Esposito
- Re: [RFC PATCH 4/8] blockjob: implement ... Hanna Reitz