Re: [dm-devel] [PATCH 4/5] multipathd: reload map if the path groups are out of order

2023-06-06 Thread Martin Wilck
On Tue, 2023-06-06 at 12:38 -0500, Benjamin Marzinski wrote: > On Tue, Jun 06, 2023 at 04:32:13PM +, Martin Wilck wrote: > > On Tue, 2023-06-06 at 10:54 -0500, Benjamin Marzinski wrote: > > > On Tue, Jun 06, 2023 at 02:55:27PM +, Martin Wilck wrote: > > > > On Mon, 2023-06-05 at 23:42 -0500

Re: [dm-devel] [PATCH 4/5] multipathd: reload map if the path groups are out of order

2023-06-06 Thread Benjamin Marzinski
On Tue, Jun 06, 2023 at 04:32:13PM +, Martin Wilck wrote: > On Tue, 2023-06-06 at 10:54 -0500, Benjamin Marzinski wrote: > > On Tue, Jun 06, 2023 at 02:55:27PM +, Martin Wilck wrote: > > > On Mon, 2023-06-05 at 23:42 -0500, Benjamin Marzinski wrote: > > > > On Mon, Jun 05, 2023 at 02:08:07P

Re: [dm-devel] [PATCH 4/5] multipathd: reload map if the path groups are out of order

2023-06-06 Thread Martin Wilck
On Wed, 2023-05-24 at 18:21 -0500, Benjamin Marzinski wrote: > need_switch_pathgroup() only checks if the currently used pathgroup > is > not the highest priority pathgroup. If it isn't, all multipathd does > is > instruct the kernel to switch to the correct pathgroup.  However, the > kernel treats

Re: [dm-devel] [PATCH 4/5] multipathd: reload map if the path groups are out of order

2023-06-06 Thread Martin Wilck
On Tue, 2023-06-06 at 10:54 -0500, Benjamin Marzinski wrote: > On Tue, Jun 06, 2023 at 02:55:27PM +, Martin Wilck wrote: > > On Mon, 2023-06-05 at 23:42 -0500, Benjamin Marzinski wrote: > > > On Mon, Jun 05, 2023 at 02:08:07PM -0500, Benjamin Marzinski > > > > > > Actually, after looking int

Re: [dm-devel] [PATCH 4/5] multipathd: reload map if the path groups are out of order

2023-06-06 Thread Benjamin Marzinski
On Tue, Jun 06, 2023 at 02:55:27PM +, Martin Wilck wrote: > On Mon, 2023-06-05 at 23:42 -0500, Benjamin Marzinski wrote: > > On Mon, Jun 05, 2023 at 02:08:07PM -0500, Benjamin Marzinski wrote: > > > On Wed, May 31, 2023 at 04:27:30PM +, Martin Wilck wrote: > > > > On Wed, 2023-05-24 at 18:2

Re: [dm-devel] [PATCH 4/5] multipathd: reload map if the path groups are out of order

2023-06-06 Thread Martin Wilck
On Mon, 2023-06-05 at 23:42 -0500, Benjamin Marzinski wrote: > On Mon, Jun 05, 2023 at 02:08:07PM -0500, Benjamin Marzinski wrote: > > On Wed, May 31, 2023 at 04:27:30PM +, Martin Wilck wrote: > > > On Wed, 2023-05-24 at 18:21 -0500, Benjamin Marzinski wrote: > > > > need_switch_pathgroup() onl

Re: [dm-devel] [PATCH 4/5] multipathd: reload map if the path groups are out of order

2023-06-05 Thread Benjamin Marzinski
On Mon, Jun 05, 2023 at 02:08:07PM -0500, Benjamin Marzinski wrote: > On Wed, May 31, 2023 at 04:27:30PM +, Martin Wilck wrote: > > On Wed, 2023-05-24 at 18:21 -0500, Benjamin Marzinski wrote: > > > need_switch_pathgroup() only checks if the currently used pathgroup > > > is > > > not the highe

Re: [dm-devel] [PATCH 4/5] multipathd: reload map if the path groups are out of order

2023-06-05 Thread Benjamin Marzinski
On Wed, May 31, 2023 at 04:27:30PM +, Martin Wilck wrote: > On Wed, 2023-05-24 at 18:21 -0500, Benjamin Marzinski wrote: > > need_switch_pathgroup() only checks if the currently used pathgroup > > is > > not the highest priority pathgroup. If it isn't, all multipathd does > > is > > instruct th

Re: [dm-devel] [PATCH 4/5] multipathd: reload map if the path groups are out of order

2023-05-31 Thread Martin Wilck
On Wed, 2023-05-24 at 18:21 -0500, Benjamin Marzinski wrote: > need_switch_pathgroup() only checks if the currently used pathgroup > is > not the highest priority pathgroup. If it isn't, all multipathd does > is > instruct the kernel to switch to the correct pathgroup.  However, the > kernel treats

[dm-devel] [PATCH 4/5] multipathd: reload map if the path groups are out of order

2023-05-24 Thread Benjamin Marzinski
need_switch_pathgroup() only checks if the currently used pathgroup is not the highest priority pathgroup. If it isn't, all multipathd does is instruct the kernel to switch to the correct pathgroup. However, the kernel treats the pathgroups as if they were ordered by priority. When the kernel runs