From: Gabriel Krisman Bertazi <krisman@collabora.com>
To: Mike Snitzer <snitzer@redhat.com>
Cc: dm-devel@redhat.com, kernel@collabora.com, khazhy@google.com
Subject: Re: [PATCH v2] dm mpath: Add timeout mechanism for queue_if_no_path
Date: Tue, 14 Jan 2020 11:31:18 -0500 [thread overview]
Message-ID: <85pnfmyp7t.fsf@collabora.com> (raw)
In-Reply-To: <20200114161505.GA48507@lobo> (Mike Snitzer's message of "Tue, 14 Jan 2020 11:15:05 -0500")
Mike Snitzer <snitzer@redhat.com> writes:
> On Mon, Jan 13 2020 at 5:41P -0500,
> Gabriel Krisman Bertazi <krisman@collabora.com> wrote:
>
>> From: Anatol Pomazau <anatol@google.com>
>>
>> Add a configurable timeout mechanism to disable queue_if_no_path without
>> assistance from multipathd. In reality, this reimplements the
>> no_path_retry mechanism from multipathd in kernel space, which is
>> interesting to prevent processes from hanging indefinitely in cases
>> where the daemon might be unable to respond, after a failure or for
>> whatever reason.
>>
>> Despite replicating the policy configuration on kernel space, it is
>> quite an important case to prevent IOs from hanging forever, waiting for
>> userspace to behave correctly.
>>
>> v2:
>> - Use a module parameter instead of configuring per table
>> - Simplify code
>>
>> Co-developed-by: Frank Mayhar <fmayhar@google.com>
>> Signed-off-by: Frank Mayhar <fmayhar@google.com>
>> Co-developed-by: Bharath Ravi <rbharath@google.com>
>> Signed-off-by: Bharath Ravi <rbharath@google.com>
>> Co-developed-by: Khazhismel Kumykov <khazhy@google.com>
>> Signed-off-by: Khazhismel Kumykov <khazhy@google.com>
>> Signed-off-by: Anatol Pomazau <anatol@google.com>
>> Co-developed-by: Gabriel Krisman Bertazi <krisman@collabora.com>
>> Signed-off-by: Gabriel Krisman Bertazi <krisman@collabora.com>
>
> All these tags seem rather excessive (especially in that you aren't cc
> most of them on the submission). Please review/scrub. Just seems odd
> that so many had a hand in this relatively small patch.
Hey,
I removed some of the Cc's because those emails addresses were bouncing.
Still, I kept the lines for credits. I got the bounces when sending v1.
> The Signed-off-by for anatol@google.com seems wrong, or did Anatol
> shephard this patch at some point? Or did you mean Reviewed-by?
> Something else?
Anatol was the main author, as listed in the From: header. This
seems correct with regard to the ordering rules of
Documentation/process/submitting-patches.rst, in particular the second
example, (Example of a patch submitted by a Co-developed-by: author::).
Am I missing something?
>
> Anyway, if in the end you hold these tags to reflect the development
> evolution of this patch then so be it ;)
>
> I've reviewed the changes and found various things I felt were
> worthwhile to modify. Summary:
>
> - included missing <linux/timer.h>
> - added MODULE_PARM_DESC
> - moved new functions to reduce needed forward declarations
> - tweaked queue_if_no_path_timeout_work's DMWARN message
> - added lockdep_assert_held to enable_nopath_timeout
> - renamed static queue_if_no_path_timeout to queue_if_no_path_timeout_secs
> - use READ_ONCE when accessing queue_if_no_path_timeout_secs
>
The changes you made look good to me and your version of the patch
passes my testcase.
--
Gabriel Krisman Bertazi
next prev parent reply other threads:[~2020-01-14 16:31 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-01-13 22:41 [PATCH v2] dm mpath: Add timeout mechanism for queue_if_no_path Gabriel Krisman Bertazi
2020-01-14 16:15 ` Mike Snitzer
2020-01-14 16:31 ` Gabriel Krisman Bertazi [this message]
2020-01-14 16:53 ` Mike Snitzer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=85pnfmyp7t.fsf@collabora.com \
--to=krisman@collabora.com \
--cc=dm-devel@redhat.com \
--cc=kernel@collabora.com \
--cc=khazhy@google.com \
--cc=snitzer@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.