Re: [Devel] [PATCH RH9] dm-ploop: port the standby mode feature.

2022-11-02 Thread Alexander Atanasov
On 19.10.22 9:58, Kui Liu wrote: > > > > + if (blk_queue_standby_en(ploop_blk_queue(ploop))) { > > + blk_queue_flag_clear(QUEUE_FLAG_STANDBY, ploop_blk_queue(ploop)); > > + if (!static_key_enabled(&ploop_sta

Re: [Devel] [PATCH RH9] dm-ploop: port the standby mode feature.

2022-10-27 Thread Kui Liu
-Original Message- From: Alexander Atanasov Date: Thursday, 27 October 2022 at 4:28 PM To: Kui Liu , Konstantin Khorenko , Alexey Kuznetsov , "Denis V. Lunev" Cc: Devel Subject: Re: [Devel] [PATCH RH9] dm-ploop: port the standby mode feature. On 26.10.22 17:42, Kui

Re: [Devel] [PATCH RH9] dm-ploop: port the standby mode feature.

2022-10-27 Thread Alexander Atanasov
On 26.10.22 17:42, Kui Liu wrote: -Original Message- From: Alexander Atanasov Date: Wednesday, 26 October 2022 at 9:32 PM To: Kui Liu , Konstantin Khorenko , Alexey Kuznetsov Cc: Devel Subject: Re: [Devel] [PATCH RH9] dm-ploop: port the standby mode feature. On 26.10.22 16

Re: [Devel] [PATCH RH9] dm-ploop: port the standby mode feature.

2022-10-26 Thread Kui Liu
-Original Message- From: Alexander Atanasov Date: Wednesday, 26 October 2022 at 9:32 PM To: Kui Liu , Konstantin Khorenko , Alexey Kuznetsov Cc: Devel Subject: Re: [Devel] [PATCH RH9] dm-ploop: port the standby mode feature. On 26.10.22 16:15, Kui Liu wrote

Re: [Devel] [PATCH RH9] dm-ploop: port the standby mode feature.

2022-10-26 Thread Alexander Atanasov
On 26.10.22 16:15, Kui Liu wrote: -Original Message- From: Alexander Atanasov Date: Wednesday, 26 October 2022 at 5:14 PM To: Kui Liu , Konstantin Khorenko , Alexey Kuznetsov Cc: Devel Subject: Re: [Devel] [PATCH RH9] dm-ploop: port the standby mode feature. Hi, On

Re: [Devel] [PATCH RH9] dm-ploop: port the standby mode feature.

2022-10-26 Thread Kui Liu
-Original Message- From: Alexander Atanasov Date: Wednesday, 26 October 2022 at 5:14 PM To: Kui Liu , Konstantin Khorenko , Alexey Kuznetsov Cc: Devel Subject: Re: [Devel] [PATCH RH9] dm-ploop: port the standby mode feature. Hi, On 21.10.22 16:28, Kui Liu wrote

Re: [Devel] [PATCH RH9] dm-ploop: port the standby mode feature.

2022-10-26 Thread Alexander Atanasov
Hi, On 21.10.22 16:28, Kui Liu wrote: -Original Message- From: Alexander Atanasov Date: Friday, 21 October 2022 at 7:35 PM To: Kui Liu , Konstantin Khorenko , Alexey Kuznetsov Cc: Devel Subject: Re: [Devel] [PATCH RH9] dm-ploop: port the standby mode feature. On 21.10.22 14

Re: [Devel] [PATCH RH9] dm-ploop: port the standby mode feature.

2022-10-21 Thread Kui Liu
-Original Message- From: Alexander Atanasov Date: Friday, 21 October 2022 at 7:35 PM To: Kui Liu , Konstantin Khorenko , Alexey Kuznetsov Cc: Devel Subject: Re: [Devel] [PATCH RH9] dm-ploop: port the standby mode feature. On 21.10.22 14:28, Kui Liu wrote

Re: [Devel] [PATCH RH9] dm-ploop: port the standby mode feature.

2022-10-21 Thread Alexander Atanasov
On 21.10.22 14:28, Kui Liu wrote: > > Ok - for the user space there are two options: > > 1. add an argument to enable at creation time > > 2. command standby_enable /if using the enable it is possible to > > implement a disable

Re: [Devel] [PATCH RH9] dm-ploop: port the standby mode feature.

2022-10-21 Thread Kui Liu
-Original Message- From: Alexander Atanasov Date: Friday, 21 October 2022 at 6:08 PM To: Kui Liu , Konstantin Khorenko , Alexey Kuznetsov Cc: Devel Subject: Re: [Devel] [PATCH RH9] dm-ploop: port the standby mode feature. On 19.10.22 11:25, Kui Liu wrote

Re: [Devel] [PATCH RH9] dm-ploop: port the standby mode feature.

2022-10-21 Thread Alexander Atanasov
On 19.10.22 11:25, Kui Liu wrote: -Original Message- From: Alexander Atanasov Date: Wednesday, 19 October 2022 at 4:02 PM To: Kui Liu , Konstantin Khorenko , Alexey Kuznetsov Cc: Devel Subject: Re: [Devel] [PATCH RH9] dm-ploop: port the standby mode feature. On 19.10.22 9:58

Re: [Devel] [PATCH RH9] dm-ploop: port the standby mode feature.

2022-10-19 Thread Kui Liu
-Original Message- From: Alexander Atanasov Date: Wednesday, 19 October 2022 at 4:02 PM To: Kui Liu , Konstantin Khorenko , Alexey Kuznetsov Cc: Devel Subject: Re: [Devel] [PATCH RH9] dm-ploop: port the standby mode feature. On 19.10.22 9:58, Kui Liu wrote

Re: [Devel] [PATCH RH9] dm-ploop: port the standby mode feature.

2022-10-19 Thread Kui Liu
-Original Message- From: Alexander Atanasov Date: Tuesday, 18 October 2022 at 9:12 PM To: Kui Liu , Konstantin Khorenko , Alexey Kuznetsov Cc: Devel Subject: Re: [Devel] [PATCH RH9] dm-ploop: port the standby mode feature. On 18.10.22 15:47, Kui Liu wrote: > He

Re: [Devel] [PATCH RH9] dm-ploop: port the standby mode feature.

2022-10-18 Thread Alexander Atanasov
On 18.10.22 15:47, Kui Liu wrote: Hello, -Original Message- From: Alexander Atanasov Date: Tuesday, 18 October 2022 at 7:40 PM To: Kui Liu , Konstantin Khorenko , Alexey Kuznetsov Cc: Devel Subject: Re: [Devel] [PATCH RH9] dm-ploop: port the standby mode feature. On 18.10.22

Re: [Devel] [PATCH RH9] dm-ploop: port the standby mode feature.

2022-10-18 Thread Kui Liu
Hello, -Original Message- From: Alexander Atanasov Date: Tuesday, 18 October 2022 at 7:40 PM To: Kui Liu , Konstantin Khorenko , Alexey Kuznetsov Cc: Devel Subject: Re: [Devel] [PATCH RH9] dm-ploop: port the standby mode feature. On 18.10.22 13:57, Kui Liu wrote: > He

Re: [Devel] [PATCH RH9] dm-ploop: port the standby mode feature.

2022-10-18 Thread Alexander Atanasov
the number. See bellow for comments on the init. -Original Message- From: Alexander Atanasov Date: Tuesday, 18 October 2022 at 5:41 PM To: Kui Liu , Konstantin Khorenko , Alexey Kuznetsov Cc: Devel Subject: Re: [Devel] [PATCH RH9] dm-ploop: port the standby mode feature. On

Re: [Devel] [PATCH RH9] dm-ploop: port the standby mode feature.

2022-10-18 Thread Kui Liu
Kuznetsov Cc: Devel Subject: Re: [Devel] [PATCH RH9] dm-ploop: port the standby mode feature. On 18.10.22 12:34, Alexander Atanasov wrote: > Hi, > > On 18.10.22 9:13, Kui Liu wrote: >> Hi, all >> >> How about we introduce an

Re: [Devel] [PATCH RH9] dm-ploop: port the standby mode feature.

2022-10-18 Thread Alexander Atanasov
On 18.10.22 12:34, Alexander Atanasov wrote: Hi, On 18.10.22 9:13, Kui Liu wrote: Hi, all How about we introduce another block queue flag, say QUEUE_FLAG_STANDBY_EN, to indicate whether the device support the standby mode. the flag bit shall be set by SCST when a blockio device is created, i

Re: [Devel] [PATCH RH9] dm-ploop: port the standby mode feature.

2022-10-18 Thread Alexander Atanasov
Hi, On 18.10.22 9:13, Kui Liu wrote: Hi, all How about we introduce another block queue flag, say QUEUE_FLAG_STANDBY_EN, to indicate whether the device support the standby mode. the flag bit shall be set by SCST when a blockio device is created, if the blockio device is ploop device, then it

Re: [Devel] [PATCH RH9] dm-ploop: port the standby mode feature.

2022-10-17 Thread Kui Liu
ementation? Regards, Liu Kui -Original Message- From: Konstantin Khorenko Date: Tuesday, 18 October 2022 at 1:57 AM To: Kui Liu , Alexey Kuznetsov Cc: Devel , Alexander Mikhalitsyn , Alexander Atanasov Subject: Re: [Devel] [PATCH RH9] dm-ploop: port the standby mode feature. Hi L

Re: [Devel] [PATCH RH9] dm-ploop: port the standby mode feature.

2022-10-17 Thread Konstantin Khorenko
al Message- From: Alexander Atanasov Date: Thursday, 13 October 2022 at 11:26 PM To: Kui Liu , Konstantin Khorenko , Alexey Kuznetsov Cc: Devel , Alexander Mikhalitsyn Subject: Re: [Devel] [PATCH RH9] dm-ploop: port the standby mode feature. On 13.10.22 16:33, Kui Liu wrote: > Hello

Re: [Devel] [PATCH RH9] dm-ploop: port the standby mode feature.

2022-10-14 Thread Alexander Atanasov
Hello, On 14.10.22 8:57, Kui Liu wrote: -Original Message- From: Alexander Atanasov Date: Thursday, 13 October 2022 at 11:26 PM To: Kui Liu , Konstantin Khorenko , Alexey Kuznetsov Cc: Devel , Alexander Mikhalitsyn Subject: Re: [Devel] [PATCH RH9] dm-ploop: port the standby mode

Re: [Devel] [PATCH RH9] dm-ploop: port the standby mode feature.

2022-10-13 Thread Kui Liu
-Original Message- From: Alexander Atanasov Date: Thursday, 13 October 2022 at 11:26 PM To: Kui Liu , Konstantin Khorenko , Alexey Kuznetsov Cc: Devel , Alexander Mikhalitsyn Subject: Re: [Devel] [PATCH RH9] dm-ploop: port the standby mode feature. On 13.10.22 16:33, Kui Liu

Re: [Devel] [PATCH RH9] dm-ploop: port the standby mode feature.

2022-10-13 Thread Alexander Atanasov
On 13.10.22 16:33, Kui Liu wrote: Hello, First of all, please bear in mind that this patch is a port of a patchset currently present in VZ 7 kernel. Original patches were added just to address a problem that would only happen in our particular use case, where we need to use ploop devices as th

Re: [Devel] [PATCH RH9] dm-ploop: port the standby mode feature.

2022-10-13 Thread Kui Liu
Hello, First of all, please bear in mind that this patch is a port of a patchset currently present in VZ 7 kernel. Original patches were added just to address a problem that would only happen in our particular use case, where we need to use ploop devices as the back store for iSCSI target, w