Thread (3 messages) flat view 3 messages, 2 authors, 2021-09-02

Re: [PATCH v2] Monitor: print message before quit for no array to monitor

From: Coly Li <hidden>
Date: 2021-09-02 07:26:14

On 9/2/21 3:08 PM, Tkaczyk, Mariusz wrote:
Hi Coly,
On 02.09.2021 04:36, Coly Li wrote:
quoted
@@ -258,6 +258,7 @@ int Monitor(struct mddev_dev *devlist,
              if (oneshot)
                  break;
              else if (!anyredundant) {
+                pr_err("Stop for no array to monitor\n");
                  break;
IMO the message is not precise enough. See that if there is only raid0
then it also stops. Something like:
"No array with redundancy detected, stopping" is more detailed.
Copied. I will post v3 patch with your suggestion.

Thanks.

Coly Li
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help