Re: [dm-devel] [PATCH 16/19] libmultipath: coalesce_paths: fix size mismatch handling

2018-12-03 Thread Martin Wilck
On Thu, 2018-11-29 at 14:53 -0600, Benjamin Marzinski wrote: > On Wed, Nov 21, 2018 at 11:18:36AM +0100, Martin Wilck wrote: > > When there are paths with the same WWID but different sizes, and > > coalesce_paths() walks the pathvec, it checks paths _after_ > > the current one for size mismatch

Re: [dm-devel] [PATCH 16/19] libmultipath: coalesce_paths: fix size mismatch handling

2018-11-29 Thread Benjamin Marzinski
On Wed, Nov 21, 2018 at 11:18:36AM +0100, Martin Wilck wrote: > When there are paths with the same WWID but different sizes, and > coalesce_paths() walks the pathvec, it checks paths _after_ > the current one for size mismatch and sets ACT_REJECT. However, > these paths will be reached in the main

[dm-devel] [PATCH 16/19] libmultipath: coalesce_paths: fix size mismatch handling

2018-11-21 Thread Martin Wilck
When there are paths with the same WWID but different sizes, and coalesce_paths() walks the pathvec, it checks paths _after_ the current one for size mismatch and sets ACT_REJECT. However, these paths will be reached in the main loop later, and this time the already handled paths will not be