Hello, Hannes
The kernel didn't limit the dev_loss_tmo if fast_io_fail_tmo is 0.
But multipath did. Should I leave it alone and just revert this patch?
Thanks.
原始邮件
发件人:HannesReinecke
收件人:<dm-devel@redhat.com>
日 期 :2016年12月07日 15:04
主 题 :Re: [dm-devel] [PATCH] libmultipath: ensure
On Wed, Dec 07, 2016 at 02:42:16PM +0800, peng.lia...@zte.com.cn wrote:
>Hello, Ben
>
>Sorry for late to reply.
>
>Such is the case as you said below. If fast_io_fail_tmo is off we have to
>cap
>
>dev_loss_tmo at 600. So, this patch is a wrong guide and will be cause a
>
>
On 12/07/2016 07:42 AM, peng.lia...@zte.com.cn wrote:
> Hello, Ben
>
> Sorry for late to reply.
>
> Such is the case as you said below. If fast_io_fail_tmo is off we have
> to cap dev_loss_tmo at 600. So, this patch is a wrong guide and will be
> cause a kernel error.
>
Indeed.
We've had _far_
Hello, Ben
Sorry for late to reply.
Such is the case as you said below. If fast_io_fail_tmo is off we have to cap
dev_loss_tmo at 600. So, this patch is a wrong guide and will be cause a
kernel error.
And one more question. Should the system limit dev_loss_tmo to 600 if
fast_io_fail_tmo set
On Thu, Dec 01, 2016 at 09:06:14AM +0800, peng.lia...@zte.com.cn wrote:
>If fast_io_fail_tmo isn't set, it will be use the DEFAULT_FAST_IO_FAIL
>in select_fast_io_fail.
>
>So, multipath will not run the limited of dev_loss_tmo to 600.
Yes, but the kernel will. With your patch
If fast_io_fail_tmo isn't set, it will be use the DEFAULT_FAST_IO_FAIL in
select_fast_io_fail.
So, multipath will not run the limited of dev_loss_tmo to 600.
And I think using MP_FAST_IO_FAIL_UNSET as the condition is meaningless after
multipath
run select_fast_io_fail even if it's not set.
On Fri, Nov 25, 2016 at 02:36:04PM +0800, peng.lia...@zte.com.cn wrote:
> From: PengLiang
>
> If no_path_retry set to queue, we should make sure dev_loss_tmo update to
> MAX_DEV_LOSS_TMO.
> But, it will be limit to 600 if fast_io_fail_tmo set to off or 0 meanwhile.
Applied, thanks.
On Fri, Nov 25, 2016 at 7:36 AM, wrote:
> From: PengLiang
>
> If no_path_retry set to queue, we should make sure dev_loss_tmo update to
> MAX_DEV_LOSS_TMO.
> But, it will be limit to 600 if fast_io_fail_tmo set to off or 0
From: PengLiang
If no_path_retry set to queue, we should make sure dev_loss_tmo update to
MAX_DEV_LOSS_TMO.
But, it will be limit to 600 if fast_io_fail_tmo set to off or 0 meanwhile.
Signed-off-by: PengLiang
---
libmultipath/discovery.c | 3