Skip to contentSkip to conversation

master - kernel docs: Refresh kernel target documentation

PATCH Alasdair Kergon 1 participant 1 message Jun 21, 2012

lore
Share & tools
lore
#0 lore raw
Gitweb:        http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=da42ee3a1f0280742e87a96f5d0694fb869a23e0
Commit:        da42ee3a1f0280742e87a96f5d0694fb869a23e0
Parent:        461eb1ac6adbf8e1938bd6e726dd4048c341cb49
Author:        Alasdair G Kergon <[email protected]>
AuthorDate:    Thu Jun 21 23:48:40 2012 +0100
Committer:     Alasdair G Kergon <[email protected]>
CommitterDate: Thu Jun 21 23:48:40 2012 +0100

kernel docs: Refresh kernel target documentation

Update the packaged copy of the in-kernel target documentation files. Adds dm-verity, updates thin provisioning and makes minor corrections elsewhere.

---
 doc/kernel/persistent-data.txt   |    2 +-
 doc/kernel/raid.txt              |    2 +-
 doc/kernel/striped.txt           |    7 +-
 doc/kernel/thin-provisioning.txt |   78 +++++++++++++++----
 doc/kernel/verity.txt            |  155 ++++++++++++++++++++++++++++++++++++++
 5 files changed, 222 insertions(+), 22 deletions(-)
doc/kernel/persistent-data.txt +1 -1
index 0e5df9b..a333bcb 100644
@@ -3,7 +3,7 @@ Introduction
 
 The more-sophisticated device-mapper targets require complex metadata
 that is managed in kernel.  In late 2010 we were seeing that various
-different targets were rolling their own data strutures, for example:
+different targets were rolling their own data structures, for example:
 
 - Mikulas Patocka's multisnap implementation
 - Heinz Mauelshagen's thin provisioning target
doc/kernel/raid.txt +1 -1
index 2a8c113..946c733 100644
@@ -28,7 +28,7 @@ The target is named "raid" and it accepts the following parameters:
   raid6_nc	RAID6 N continue
 		- rotating parity N (right-to-left) with data continuation
 
-  Refererence: Chapter 4 of
+  Reference: Chapter 4 of
   http://www.snia.org/sites/default/files/SNIA_DDF_Technical_Position_v2.0.pdf
 
 <#raid_params>: The number of parameters that follow.
doc/kernel/striped.txt +3 -4
index f34d323..45f3b91 100644
@@ -9,15 +9,14 @@ devices in parallel.
 
 Parameters: <num devs> <chunk size> [<dev path> <offset>]+
     <num devs>: Number of underlying devices.
-    <chunk size>: Size of each chunk of data. Must be a power-of-2 and at
-                  least as large as the system's PAGE_SIZE.
+    <chunk size>: Size of each chunk of data. Must be at least as
+                  large as the system's PAGE_SIZE.
     <dev path>: Full pathname to the underlying block-device, or a
                 "major:minor" device-number.
     <offset>: Starting sector within the device.
 
 One or more underlying devices can be specified. The striped device size must
-be a multiple of the chunk size and a multiple of the number of underlying
-devices.
+be a multiple of the chunk size multiplied by the number of underlying devices.
 
 
 Example scripts
doc/kernel/thin-provisioning.txt +62 -16

126 lines not on this page · raw message

doc/kernel/verity.txt new file +155 -0

155 lines not on this page · raw message