1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-03-24 14:50:34 +03:00

Improve readahead in dmsetup man page

This commit is contained in:
Zdenek Kabelac 2012-01-09 12:28:47 +00:00
parent 044abcf91b
commit e49622ef17
2 changed files with 14 additions and 3 deletions

View File

@ -1,5 +1,6 @@
Version 1.02.68 -
==================================
Improve dmsetup man page about readahead parameter.
Use sysfs to set/get of read-ahead setting if possible.
Fix lvm2-monitor init script to use normalized output when using vgs.
Add test for max length (DM_MAX_TYPE_NAME) of target type name.

View File

@ -15,6 +15,8 @@ dmsetup \- low level logical volume management
.RS
.IR table_file ]
.RB [{ \-\-addnodeoncreate | \-\-addnodeonresume }]
.RB [ \-\-readahead
.RI [ \+ ]< sectors >| auto | none ]
.RE
.br
.B dmsetup deps
@ -85,6 +87,10 @@ dmsetup \- low level logical volume management
.B dmsetup resume
.I device_name
.RB [{ \-\-addnodeoncreate | \-\-addnodeonresume }]
.RS
.RB [ \-\-readahead
.RI [ \+ ]< sectors >| auto | none ]
.RE
.br
.B dmsetup setgeometry
.I device_name cyl head sect start
@ -202,11 +208,11 @@ Specify which fields to display.
.TP
.IR \fB\-\-readahead \ [ \+ ]< sectors >| auto | none
Specify read ahead size in units of sectors.
The default value is "auto" which allows the kernel to choose
a suitable value automatically. The + prefix lets you
The default value is \fIauto\fP which allows the kernel to choose
a suitable value automatically. The \fI\+\fP prefix lets you
specify a minimum value which will not be used if it is
smaller than the value chosen by the kernel.
"None" is equivalent to specifying zero.
The value \fInone\fP is equivalent to specifying zero.
.TP
.BR \-r | \-\-readonly
Set the table being loaded read-only.
@ -248,6 +254,8 @@ Destroys the table in the inactive table slot for device_name.
.RB [ \-\-notable | \-\-table
.RI < \fItable >| table_file ]
.RB [{ \-\-addnodeoncreate | \-\-addnodeonresume }]
.RB [ \-\-readahead
.RI [ + ]< sectors >| auto | none ]
.br
Creates a device with the given name.
If table_file or <table> is supplied, the table is loaded and made live.
@ -402,6 +410,8 @@ After a uuid has been set it cannot be changed.
.B resume
.I device_name
.RB [{ \-\-addnodeoncreate | \-\-addnodeonresume }]
.RB [ \-\-readahead
.RI [ + ]< sectors >| auto | none ]
.br
Un-suspends a device.
If an inactive table has been loaded, it becomes live.