Re: [PATCH 06/14] block-backend: use bdrv_getlength instead of blk_getlength

2022-12-19 Thread Emanuele Giuseppe Esposito
Am 16/12/2022 um 18:22 schrieb Vladimir Sementsov-Ogievskiy: > On 12/13/22 11:53, Kevin Wolf wrote: >> From: Emanuele Giuseppe Esposito >> >> The only difference is that blk_ checks if the block is available, >> but this check is already performed above in blk_check_byte_request(). >> >> This i

Re: [PATCH 06/14] block-backend: use bdrv_getlength instead of blk_getlength

2022-12-16 Thread Vladimir Sementsov-Ogievskiy
On 12/13/22 11:53, Kevin Wolf wrote: From: Emanuele Giuseppe Esposito The only difference is that blk_ checks if the block is available, but this check is already performed above in blk_check_byte_request(). This is in preparation for the graph rdlock, which will be taken by both the callers o

[PATCH 06/14] block-backend: use bdrv_getlength instead of blk_getlength

2022-12-13 Thread Kevin Wolf
From: Emanuele Giuseppe Esposito The only difference is that blk_ checks if the block is available, but this check is already performed above in blk_check_byte_request(). This is in preparation for the graph rdlock, which will be taken by both the callers of blk_check_byte_request() and blk_getl