Re: [PATCH v3 5/9] mirror: implement mirror_change method

2023-10-24 Thread Kevin Wolf
Am 23.10.2023 um 16:14 hat Fiona Ebner geschrieben: > Am 23.10.23 um 14:59 schrieb Kevin Wolf: > > Am 23.10.2023 um 13:37 hat Fiona Ebner geschrieben: > +current = qatomic_cmpxchg(>copy_mode, > MIRROR_COPY_MODE_BACKGROUND, > +

Re: [PATCH v3 5/9] mirror: implement mirror_change method

2023-10-23 Thread Fiona Ebner
Am 23.10.23 um 14:59 schrieb Kevin Wolf: > Am 23.10.2023 um 13:37 hat Fiona Ebner geschrieben: +current = qatomic_cmpxchg(>copy_mode, MIRROR_COPY_MODE_BACKGROUND, + change_opts->copy_mode); +if (current != MIRROR_COPY_MODE_BACKGROUND) { +

Re: [PATCH v3 5/9] mirror: implement mirror_change method

2023-10-23 Thread Kevin Wolf
Am 23.10.2023 um 13:37 hat Fiona Ebner geschrieben: > Am 18.10.23 um 18:59 schrieb Kevin Wolf: > > Am 13.10.2023 um 11:21 hat Fiona Ebner geschrieben: > >> which allows switching the @copy-mode from 'background' to > >> 'write-blocking'. > >> > >> This is useful for management applications, so

Re: [PATCH v3 5/9] mirror: implement mirror_change method

2023-10-23 Thread Fiona Ebner
Am 18.10.23 um 18:59 schrieb Kevin Wolf: > Am 13.10.2023 um 11:21 hat Fiona Ebner geschrieben: >> which allows switching the @copy-mode from 'background' to >> 'write-blocking'. >> >> This is useful for management applications, so they can start out in >> background mode to avoid limiting guest

Re: [PATCH v3 5/9] mirror: implement mirror_change method

2023-10-18 Thread Kevin Wolf
Am 13.10.2023 um 11:21 hat Fiona Ebner geschrieben: > which allows switching the @copy-mode from 'background' to > 'write-blocking'. > > This is useful for management applications, so they can start out in > background mode to avoid limiting guest write speed and switch to > active mode when

Re: [PATCH v3 5/9] mirror: implement mirror_change method

2023-10-18 Thread Markus Armbruster
Fiona Ebner writes: > which allows switching the @copy-mode from 'background' to > 'write-blocking'. > > This is useful for management applications, so they can start out in > background mode to avoid limiting guest write speed and switch to > active mode when certain criteria are fulfilled. > >

[PATCH v3 5/9] mirror: implement mirror_change method

2023-10-13 Thread Fiona Ebner
which allows switching the @copy-mode from 'background' to 'write-blocking'. This is useful for management applications, so they can start out in background mode to avoid limiting guest write speed and switch to active mode when certain criteria are fulfilled. In presence of an iothread, the