Re: [PATCH 08/14] blockjob: return status from block_job_set_speed()

2020-09-17 Thread Alberto Garcia
On Wed 09 Sep 2020 08:59:24 PM CEST, Vladimir Sementsov-Ogievskiy wrote: > Better to return status together with setting errp. It allows to avoid > error propagation in the caller. > > Signed-off-by: Vladimir Sementsov-Ogievskiy Reviewed-by: Alberto Garcia Berto

Re: [PATCH 08/14] blockjob: return status from block_job_set_speed()

2020-09-11 Thread Greg Kurz
On Wed, 9 Sep 2020 21:59:24 +0300 Vladimir Sementsov-Ogievskiy wrote: > Better to return status together with setting errp. It allows to avoid > error propagation in the caller. > > Signed-off-by: Vladimir Sementsov-Ogievskiy > --- Reviewed-by: Greg Kurz > include/block/blockjob.h | 2 +-

[PATCH 08/14] blockjob: return status from block_job_set_speed()

2020-09-09 Thread Vladimir Sementsov-Ogievskiy
Better to return status together with setting errp. It allows to avoid error propagation in the caller. Signed-off-by: Vladimir Sementsov-Ogievskiy --- include/block/blockjob.h | 2 +- blockjob.c | 18 -- 2 files changed, 9 insertions(+), 11 deletions(-) diff