Re: [PATCH v5 3/9] block-backend: Add device specific retry callback

2021-02-22 Thread Stefan Hajnoczi
On Fri, Feb 05, 2021 at 06:13:09PM +0800, Jiahui Cen wrote: > Add retry_request_cb in BlockDevOps to do device specific retry action. > Backend's timer would be registered only when the backend is set 'retry' > on errors and the device supports retry action. > > Signed-off-by: Jiahui Cen > Signed

[PATCH v5 3/9] block-backend: Add device specific retry callback

2021-02-05 Thread Jiahui Cen
Add retry_request_cb in BlockDevOps to do device specific retry action. Backend's timer would be registered only when the backend is set 'retry' on errors and the device supports retry action. Signed-off-by: Jiahui Cen Signed-off-by: Ying Fang --- block/block-backend.c | 8 in