Skip to contentSkip to conversation

mkfs: add missing noalign suboption information

PATCH Superseded Carlos Maiolino 2 participants 3 messages Jul 8, 2013 – Jul 10, 2013

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mkfs: add missing noalign suboption information

Adds to the mkfs man page, information about noalign mkfs option which is missing until now.

---
 man/man8/mkfs.xfs.8 | 6 ++++++
 1 file changed, 6 insertions(+)
man/man8/mkfs.xfs.8 +6 -0
index 04c19b4..2435814 100644
@@ -244,6 +244,12 @@ will automatically query the logical volume for appropriate
 and
 .B swidth
 values.
+.TP
+.BI noalign
+This option is used to bypass data alignment configuration. In rare
+circunstances, data alignment might decrease performance, for such cases,
+use this option to avoid data alignment, this will set stripe unit and
+stripe width to 0.
 .RE
 .TP
 .B \-f
Signature · 6 lines
1.8.1.4

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs
#1 lore raw
Quoted 13 lines · Carlos Maiolino

Adds to the mkfs man page, information about noalign mkfs option which is missing until now.

---
 man/man8/mkfs.xfs.8 | 6 ++++++
 1 file changed, 6 insertions(+)
man/man8/mkfs.xfs.8 +0 -0
index 04c19b4..2435814 100644

man/man8/mkfs.xfs.8 will automatically query the logical volume for appropriate · line 252

Quoted 9 lines
man/man8/mkfs.xfs.8 +6 -0
@@ -244,6 +244,12 @@ will automatically query the logical volume for appropriate
 and
 .B swidth
 values.
+.TP
+.BI noalign
+This option is used to bypass data alignment configuration. In rare
+circunstances, data alignment might decrease performance, for such cases,
+use this option to avoid data alignment, this will set stripe unit and
+stripe width to 0.

Thanks for this, Carlos.

I think it might be better to just state plainly that it overrides automatic stripe unit detection, and leave the tuning / performance parts out. Most of the manpage today is more "what" than "why."

So maybe simply:

+This option disables automatic stripe geometry detection, and creates +the filesystem without stripe geometry even if the underlying storage +device reports this information.

FWIW, there is a 'noalign' option for the realtime subvolume as well, and that should probably get documented too.

-Eric

man/man8/mkfs.xfs.8 will automatically query the logical volume for appropriate · line 255

Quoted 4 lines
man/man8/mkfs.xfs.8 +0 -0
 .RE
 .TP
 .B \-f

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs

#2 lore raw
Quoted 36 lines · Eric Sandeen
Quoted 13 lines · Carlos Maiolino

Adds to the mkfs man page, information about noalign mkfs option which is missing until now.

---
 man/man8/mkfs.xfs.8 | 6 ++++++
 1 file changed, 6 insertions(+)
man/man8/mkfs.xfs.8 +0 -0
index 04c19b4..2435814 100644

man/man8/mkfs.xfs.8 will automatically query the logical volume for appropriate · line 252

Quoted 9 lines
man/man8/mkfs.xfs.8 +6 -0
@@ -244,6 +244,12 @@ will automatically query the logical volume for appropriate
 and
 .B swidth
 values.
+.TP
+.BI noalign
+This option is used to bypass data alignment configuration. In rare
+circunstances, data alignment might decrease performance, for such cases,
+use this option to avoid data alignment, this will set stripe unit and
+stripe width to 0.

Thanks for this, Carlos.

I think it might be better to just state plainly that it overrides automatic stripe unit detection, and leave the tuning / performance parts out. Most of the manpage today is more "what" than "why."

So maybe simply:

(quoted diff) +3 -0
+This option disables automatic stripe geometry detection, and creates
+the filesystem without stripe geometry even if the underlying storage
+device reports this information.
Quoted 3 lines

FWIW, there is a 'noalign' option for the realtime subvolume as well, and that should probably get documented too.

Agreed, going to change and re-send it.

Quoted 11 lines

-Eric

man/man8/mkfs.xfs.8 will automatically query the logical volume for appropriate · line 255

Quoted 4 lines
man/man8/mkfs.xfs.8 +0 -0
 .RE
 .TP
 .B \-f

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs

Signature · 6 lines
Carlos

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs