Re: [PATCH v3 5/7] block/block-copy: block_copy(): add timeout_ns parameter

2022-04-07 Thread Hanna Reitz
On 06.04.22 20:07, Vladimir Sementsov-Ogievskiy wrote: Add possibility to limit block_copy() call in time. To be used in the next commit. As timed-out block_copy() call will continue in background anyway (we can't immediately cancel IO operation), it's important also give user a possibility to p

[PATCH v3 5/7] block/block-copy: block_copy(): add timeout_ns parameter

2022-04-06 Thread Vladimir Sementsov-Ogievskiy
Add possibility to limit block_copy() call in time. To be used in the next commit. As timed-out block_copy() call will continue in background anyway (we can't immediately cancel IO operation), it's important also give user a possibility to pass a callback, to do some additional actions on block-co