Skip to contentSkip to conversation

dm stripe: document that chunk size is specified in sectors (resend)

PATCH Superseded [email protected] 2 participants 2 messages Jan 12, 2016

Subsystems (2)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 dm stripe: document that chunk size is specified in sectors (resend)

From: Tomohiro Kusumi <[email protected]>

Mention it's in sector similar to f49e869.
It sounds like one specifies it in a number like 4096.

---
 Documentation/device-mapper/striped.txt |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
Documentation/device-mapper/striped.txt +2 -2
index 45f3b91..f109b54 100644
@@ -9,8 +9,8 @@ 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 at least as
-                  large as the system's PAGE_SIZE.
+    <chunk size>: Size of each chunk of data in sectors. 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.
Signature · 1 line
1.7.1
maintainer
#1 lore raw
Quoted 27 lines · On Wed, 13 Jan 2016, [email protected] wrote:

From: Tomohiro Kusumi <[email protected]>

Mention it's in sector similar to f49e869.
It sounds like one specifies it in a number like 4096.

---
 Documentation/device-mapper/striped.txt |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
Documentation/device-mapper/striped.txt +2 -2
index 45f3b91..f109b54 100644
@@ -9,8 +9,8 @@ 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 at least as
-                  large as the system's PAGE_SIZE.
+    <chunk size>: Size of each chunk of data in sectors. 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.
Signature · 1 line
1.7.1

It is not required that the chunk size must be at least as larget as the page size, so that sentence should be dropped too.

Mikulas