* [PATCH 0/2] mdadm/manpage: update manpage for readonly and array-size @ 2017-04-10 8:01 Zhilong Liu 2017-04-10 8:04 ` [PATCH 1/2] mdadm/manpage:update description for readonly in manpage Zhilong Liu 0 siblings, 1 reply; 10+ messages in thread From: Zhilong Liu @ 2017-04-10 8:01 UTC (permalink / raw) To: Jes.Sorensen; +Cc: linux-raid, Zhilong Liu Hi, Jes; These two patches is to update the description for readonly and array-size sectors. Thanks, Zhilong --- Zhilong Liu (2): mdadm/manpage:update description for readonly in manpage mdadm/manpage:clustered array doesn't support --array-size yet mdadm.8.in | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) -- 2.6.6 ^ permalink raw reply [flat|nested] 10+ messages in thread
* [PATCH 1/2] mdadm/manpage:update description for readonly in manpage 2017-04-10 8:01 [PATCH 0/2] mdadm/manpage: update manpage for readonly and array-size Zhilong Liu @ 2017-04-10 8:04 ` Zhilong Liu 2017-04-10 8:04 ` [PATCH 2/2] mdadm/manpage:clustered array doesn't support --array-size yet Zhilong Liu 2017-04-11 14:51 ` [PATCH 1/2] mdadm/manpage:update description for readonly in manpage Jes Sorensen 0 siblings, 2 replies; 10+ messages in thread From: Zhilong Liu @ 2017-04-10 8:04 UTC (permalink / raw) To: Jes.Sorensen; +Cc: linux-raid, Zhilong Liu update readonly/readwrite in man page: Currently both the readwrite and readonly are worked well, thus updates description for them. Signed-off-by: Zhilong Liu <zlliu@suse.com> --- mdadm.8.in | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/mdadm.8.in b/mdadm.8.in index 744c12b..f006cf5 100644 --- a/mdadm.8.in +++ b/mdadm.8.in @@ -925,7 +925,8 @@ will not try to be so clever. Start the array .B read only rather than read-write as normal. No writes will be allowed to the -array, and no resync, recovery, or reshape will be started. +array, and no resync, recovery, or reshape will be started. It works with +Create, Assemble, Manage and Misc mode. .TP .BR \-a ", " "\-\-auto{=yes,md,mdp,part,p}{NN}" @@ -2232,7 +2233,7 @@ be in use. .TP .B \-\-readonly -start the array readonly \(em not supported yet. +start the array with readonly status. .SH MANAGE MODE .HP 12 @@ -2438,12 +2439,11 @@ This will fully activate a partially assembled md array. .TP .B \-\-readonly -This will mark an active array as read-only, providing that it is -not currently being used. +This will set an active array as read-only status. .TP .B \-\-readwrite -This will change a +This will change an .B readonly array back to being read/write. -- 2.6.6 ^ permalink raw reply related [flat|nested] 10+ messages in thread
* [PATCH 2/2] mdadm/manpage:clustered array doesn't support --array-size yet 2017-04-10 8:04 ` [PATCH 1/2] mdadm/manpage:update description for readonly in manpage Zhilong Liu @ 2017-04-10 8:04 ` Zhilong Liu 2017-04-11 14:49 ` Jes Sorensen 2017-04-11 14:51 ` [PATCH 1/2] mdadm/manpage:update description for readonly in manpage Jes Sorensen 1 sibling, 1 reply; 10+ messages in thread From: Zhilong Liu @ 2017-04-10 8:04 UTC (permalink / raw) To: Jes.Sorensen; +Cc: linux-raid, Zhilong Liu update man page for --array-size: clustered array isn't allowed to change array_sector by now. Signed-off-by: Zhilong Liu <zlliu@suse.com> --- mdadm.8.in | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/mdadm.8.in b/mdadm.8.in index f006cf5..3555516 100644 --- a/mdadm.8.in +++ b/mdadm.8.in @@ -541,6 +541,10 @@ A value of restores the apparent size of the array to be whatever the real amount of available space is. +The +.B clustered +array isn't supported this parameter yet. + .TP .BR \-c ", " \-\-chunk= Specify chunk size of kilobytes. The default when creating an -- 2.6.6 ^ permalink raw reply related [flat|nested] 10+ messages in thread
* Re: [PATCH 2/2] mdadm/manpage:clustered array doesn't support --array-size yet 2017-04-10 8:04 ` [PATCH 2/2] mdadm/manpage:clustered array doesn't support --array-size yet Zhilong Liu @ 2017-04-11 14:49 ` Jes Sorensen 2017-04-12 8:37 ` [PATCH v1 2/2] mdadm/manpage:clustered arrays don't support array-size yet Zhilong Liu 0 siblings, 1 reply; 10+ messages in thread From: Jes Sorensen @ 2017-04-11 14:49 UTC (permalink / raw) To: Zhilong Liu; +Cc: linux-raid On 04/10/2017 04:04 AM, Zhilong Liu wrote: > update man page for --array-size: > clustered array isn't allowed to change array_sector by now. > > Signed-off-by: Zhilong Liu <zlliu@suse.com> > --- > mdadm.8.in | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/mdadm.8.in b/mdadm.8.in > index f006cf5..3555516 100644 > --- a/mdadm.8.in > +++ b/mdadm.8.in > @@ -541,6 +541,10 @@ A value of > restores the apparent size of the array to be whatever the real > amount of available space is. > > +The > +.B clustered > +array isn't supported this parameter yet. Should this say "Clustered arrays do not support this parameter yet." ? Thanks, Jes ^ permalink raw reply [flat|nested] 10+ messages in thread
* [PATCH v1 2/2] mdadm/manpage:clustered arrays don't support array-size yet 2017-04-11 14:49 ` Jes Sorensen @ 2017-04-12 8:37 ` Zhilong Liu 2017-04-12 17:57 ` Jes Sorensen 0 siblings, 1 reply; 10+ messages in thread From: Zhilong Liu @ 2017-04-12 8:37 UTC (permalink / raw) To: Jes.Sorensen; +Cc: linux-raid, Zhilong Liu Update manpage for array-size section: Clustered arrays don't support the --array-size yet. Signed-off-by: Zhilong Liu <zlliu@suse.com> --- mdadm.8.in | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mdadm.8.in b/mdadm.8.in index f10a8b8..fb99a5c 100644 --- a/mdadm.8.in +++ b/mdadm.8.in @@ -541,6 +541,8 @@ A value of restores the apparent size of the array to be whatever the real amount of available space is. +Clustered arrays do not support this parameter yet. + .TP .BR \-c ", " \-\-chunk= Specify chunk size of kilobytes. The default when creating an -- 2.6.6 ^ permalink raw reply related [flat|nested] 10+ messages in thread
* Re: [PATCH v1 2/2] mdadm/manpage:clustered arrays don't support array-size yet 2017-04-12 8:37 ` [PATCH v1 2/2] mdadm/manpage:clustered arrays don't support array-size yet Zhilong Liu @ 2017-04-12 17:57 ` Jes Sorensen 0 siblings, 0 replies; 10+ messages in thread From: Jes Sorensen @ 2017-04-12 17:57 UTC (permalink / raw) To: Zhilong Liu; +Cc: linux-raid On 04/12/2017 04:37 AM, Zhilong Liu wrote: > Update manpage for array-size section: > Clustered arrays don't support the --array-size yet. > > Signed-off-by: Zhilong Liu <zlliu@suse.com> > --- > mdadm.8.in | 2 ++ > 1 file changed, 2 insertions(+) Applied! Thanks, Jes ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH 1/2] mdadm/manpage:update description for readonly in manpage 2017-04-10 8:04 ` [PATCH 1/2] mdadm/manpage:update description for readonly in manpage Zhilong Liu 2017-04-10 8:04 ` [PATCH 2/2] mdadm/manpage:clustered array doesn't support --array-size yet Zhilong Liu @ 2017-04-11 14:51 ` Jes Sorensen 2017-04-11 16:30 ` Wols Lists 2017-04-12 8:36 ` [PATCH v1 1/2] mdadm/manpage:update manpage for readonly parameter Zhilong Liu 1 sibling, 2 replies; 10+ messages in thread From: Jes Sorensen @ 2017-04-11 14:51 UTC (permalink / raw) To: Zhilong Liu; +Cc: linux-raid On 04/10/2017 04:04 AM, Zhilong Liu wrote: > update readonly/readwrite in man page: > Currently both the readwrite and readonly are worked well, > thus updates description for them. > > Signed-off-by: Zhilong Liu <zlliu@suse.com> > --- > mdadm.8.in | 10 +++++----- > 1 file changed, 5 insertions(+), 5 deletions(-) A couple of comments below. > .TP > .B \-\-readonly > -start the array readonly \(em not supported yet. > +start the array with readonly status. I believe it would be more correct to say "start the array in readonly mode" here. > .SH MANAGE MODE > .HP 12 > @@ -2438,12 +2439,11 @@ This will fully activate a partially assembled md array. > > .TP > .B \-\-readonly > -This will mark an active array as read-only, providing that it is > -not currently being used. > +This will set an active array as read-only status. I think this chance is not good, and should be omitted. > .TP > .B \-\-readwrite > -This will change a > +This will change an > .B readonly > array back to being read/write. This change is grammatically incorrect I believe and the original text is correct. Thanks, Jes ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH 1/2] mdadm/manpage:update description for readonly in manpage 2017-04-11 14:51 ` [PATCH 1/2] mdadm/manpage:update description for readonly in manpage Jes Sorensen @ 2017-04-11 16:30 ` Wols Lists 2017-04-12 8:36 ` [PATCH v1 1/2] mdadm/manpage:update manpage for readonly parameter Zhilong Liu 1 sibling, 0 replies; 10+ messages in thread From: Wols Lists @ 2017-04-11 16:30 UTC (permalink / raw) To: Jes Sorensen, Zhilong Liu; +Cc: linux-raid On 11/04/17 15:51, Jes Sorensen wrote: >> >> .TP >> .B \-\-readonly >> -This will mark an active array as read-only, providing that it is >> -not currently being used. >> +This will set an active array as read-only status. > > I think this chance is not good, and should be omitted. Agreed, except that I would change "providing" to "provided". > >> .TP >> .B \-\-readwrite >> -This will change a >> +This will change an >> .B readonly >> array back to being read/write. > > This change is grammatically incorrect I believe and the original text > is correct. Agreed. Cheers, Wol ^ permalink raw reply [flat|nested] 10+ messages in thread
* [PATCH v1 1/2] mdadm/manpage:update manpage for readonly parameter 2017-04-11 14:51 ` [PATCH 1/2] mdadm/manpage:update description for readonly in manpage Jes Sorensen 2017-04-11 16:30 ` Wols Lists @ 2017-04-12 8:36 ` Zhilong Liu 2017-04-12 17:51 ` Jes Sorensen 1 sibling, 1 reply; 10+ messages in thread From: Zhilong Liu @ 2017-04-12 8:36 UTC (permalink / raw) To: Jes.Sorensen; +Cc: linux-raid, Zhilong Liu update readonly in manpage: Currently both the readwrite and readonly are worked well, update the readonly section. One commit in linux/driver/md. Cleared "MD_CLOSING bit" to Fixes: af8d8e6f0315 ("md: changes for MD_STILL_CLOSED flag") Signed-off-by: Zhilong Liu <zlliu@suse.com> --- mdadm.8.in | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/mdadm.8.in b/mdadm.8.in index 744c12b..f10a8b8 100644 --- a/mdadm.8.in +++ b/mdadm.8.in @@ -925,7 +925,8 @@ will not try to be so clever. Start the array .B read only rather than read-write as normal. No writes will be allowed to the -array, and no resync, recovery, or reshape will be started. +array, and no resync, recovery, or reshape will be started. It works with +Create, Assemble, Manage and Misc mode. .TP .BR \-a ", " "\-\-auto{=yes,md,mdp,part,p}{NN}" @@ -2232,7 +2233,7 @@ be in use. .TP .B \-\-readonly -start the array readonly \(em not supported yet. +start the array in readonly mode. .SH MANAGE MODE .HP 12 -- 2.6.6 ^ permalink raw reply related [flat|nested] 10+ messages in thread
* Re: [PATCH v1 1/2] mdadm/manpage:update manpage for readonly parameter 2017-04-12 8:36 ` [PATCH v1 1/2] mdadm/manpage:update manpage for readonly parameter Zhilong Liu @ 2017-04-12 17:51 ` Jes Sorensen 0 siblings, 0 replies; 10+ messages in thread From: Jes Sorensen @ 2017-04-12 17:51 UTC (permalink / raw) To: Zhilong Liu; +Cc: linux-raid On 04/12/2017 04:36 AM, Zhilong Liu wrote: > update readonly in manpage: > Currently both the readwrite and readonly are worked well, > update the readonly section. > One commit in linux/driver/md. Cleared "MD_CLOSING bit" to > Fixes: af8d8e6f0315 ("md: changes for MD_STILL_CLOSED flag") > > Signed-off-by: Zhilong Liu <zlliu@suse.com> > --- > mdadm.8.in | 5 +++-- > 1 file changed, 3 insertions(+), 2 deletions(-) Applied! Thanks, Jes > diff --git a/mdadm.8.in b/mdadm.8.in > index 744c12b..f10a8b8 100644 > --- a/mdadm.8.in > +++ b/mdadm.8.in > @@ -925,7 +925,8 @@ will not try to be so clever. > Start the array > .B read only > rather than read-write as normal. No writes will be allowed to the > -array, and no resync, recovery, or reshape will be started. > +array, and no resync, recovery, or reshape will be started. It works with > +Create, Assemble, Manage and Misc mode. > > .TP > .BR \-a ", " "\-\-auto{=yes,md,mdp,part,p}{NN}" > @@ -2232,7 +2233,7 @@ be in use. > > .TP > .B \-\-readonly > -start the array readonly \(em not supported yet. > +start the array in readonly mode. > > .SH MANAGE MODE > .HP 12 > ^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2017-04-12 17:57 UTC | newest] Thread overview: 10+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2017-04-10 8:01 [PATCH 0/2] mdadm/manpage: update manpage for readonly and array-size Zhilong Liu 2017-04-10 8:04 ` [PATCH 1/2] mdadm/manpage:update description for readonly in manpage Zhilong Liu 2017-04-10 8:04 ` [PATCH 2/2] mdadm/manpage:clustered array doesn't support --array-size yet Zhilong Liu 2017-04-11 14:49 ` Jes Sorensen 2017-04-12 8:37 ` [PATCH v1 2/2] mdadm/manpage:clustered arrays don't support array-size yet Zhilong Liu 2017-04-12 17:57 ` Jes Sorensen 2017-04-11 14:51 ` [PATCH 1/2] mdadm/manpage:update description for readonly in manpage Jes Sorensen 2017-04-11 16:30 ` Wols Lists 2017-04-12 8:36 ` [PATCH v1 1/2] mdadm/manpage:update manpage for readonly parameter Zhilong Liu 2017-04-12 17:51 ` Jes Sorensen
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).