Re: [PATCH for-6.2 v3 10/12] mirror: Stop active mirroring after force-cancel

2021-09-01 Thread Vladimir Sementsov-Ogievskiy
06.08.2021 12:38, Max Reitz wrote: Once the mirror job is force-cancelled (job_is_cancelled() is true), we should not generate new I/O requests. This applies to active mirroring, too, so stop it once the job is cancelled. (We must still forward all I/O requests to the source, though, of course,

Re: [PATCH for-6.2 v3 10/12] mirror: Stop active mirroring after force-cancel

2021-08-06 Thread Eric Blake
On Fri, Aug 06, 2021 at 11:38:57AM +0200, Max Reitz wrote: > Once the mirror job is force-cancelled (job_is_cancelled() is true), we > should not generate new I/O requests. This applies to active mirroring, > too, so stop it once the job is cancelled. > > (We must still forward all I/O requests t

[PATCH for-6.2 v3 10/12] mirror: Stop active mirroring after force-cancel

2021-08-06 Thread Max Reitz
Once the mirror job is force-cancelled (job_is_cancelled() is true), we should not generate new I/O requests. This applies to active mirroring, too, so stop it once the job is cancelled. (We must still forward all I/O requests to the source, though, of course, but those are not really I/O request