Skip to content

Commit

Permalink
MD: Fix typos in MD documentation
Browse files Browse the repository at this point in the history
MD:  Fix some typos/grammer in MD documentation

Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Signed-off-by: Jonathan Brassow <jbrassow@redhat.com>
Signed-off-by: NeilBrown <neilb@suse.de>
  • Loading branch information
Jonathan Brassow authored and NeilBrown committed Apr 24, 2013
1 parent c0b3297 commit b6fec06
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions Documentation/md.txt
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ device to add.
The array is started with the RUN_ARRAY ioctl.

Once started, new devices can be added. They should have an
appropriate superblock written to them, and then passed be in with
appropriate superblock written to them, and then be passed in with
ADD_NEW_DISK.

Devices that have failed or are not yet active can be detached from an
Expand All @@ -131,7 +131,7 @@ Specific Rules that apply to format-0 super block arrays, and
-------------------------------------------------------------

An array can be 'created' by describing the array (level, chunksize
etc) in a SET_ARRAY_INFO ioctl. This must has major_version==0 and
etc) in a SET_ARRAY_INFO ioctl. This must have major_version==0 and
raid_disks != 0.

Then uninitialized devices can be added with ADD_NEW_DISK. The
Expand Down Expand Up @@ -426,7 +426,7 @@ Each directory contains:
offset
This gives the location in the device (in sectors from the
start) where data from the array will be stored. Any part of
the device before this offset us not touched, unless it is
the device before this offset is not touched, unless it is
used for storing metadata (Formats 1.1 and 1.2).

size
Expand All @@ -440,7 +440,7 @@ Each directory contains:
When the device is not 'in_sync', this records the number of
sectors from the start of the device which are known to be
correct. This is normally zero, but during a recovery
operation is will steadily increase, and if the recovery is
operation it will steadily increase, and if the recovery is
interrupted, restoring this value can cause recovery to
avoid repeating the earlier blocks. With v1.x metadata, this
value is saved and restored automatically.
Expand Down Expand Up @@ -468,7 +468,7 @@ Each directory contains:



An active md device will also contain and entry for each active device
An active md device will also contain an entry for each active device
in the array. These are named

rdNN
Expand All @@ -482,7 +482,7 @@ will show 'in_sync' on every line.



Active md devices for levels that support data redundancy (1,4,5,6)
Active md devices for levels that support data redundancy (1,4,5,6,10)
also have

sync_action
Expand All @@ -494,7 +494,7 @@ also have
failed/missing device
idle - nothing is happening
check - A full check of redundancy was requested and is
happening. This reads all block and checks
happening. This reads all blocks and checks
them. A repair may also happen for some raid
levels.
repair - A full check and repair is happening. This is
Expand Down Expand Up @@ -522,7 +522,7 @@ also have

degraded
This contains a count of the number of devices by which the
arrays is degraded. So an optimal array with show '0'. A
arrays is degraded. So an optimal array will show '0'. A
single failed/missing drive will show '1', etc.
This file responds to select/poll, any increase or decrease
in the count of missing devices will trigger an event.
Expand Down

0 comments on commit b6fec06

Please sign in to comment.