dm stripe: document that chunk size is specified in sectors
Subsystems (2)
PATCH 1/2 dm stripe: document that chunk size is specified in sectors
Mention it's in sector similar to f49e869.
It sounds like one specifies it in a number like 4096.
Signed-off-by Tomohiro Kusumi <[email protected]>
--- Documentation/device-mapper/striped.txt | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
Documentation/device-mapper/striped.txt +2 -2
@@ -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 sector. 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
PATCH 2/2 dm flakey: document that default I/O error is only for write
.map of dm-flakey with no optional feature parameters specified results in -EIO only for writes during down time. Read bios are submitted as usual whether it's in up or down time.
Signed-off-by Tomohiro Kusumi <[email protected]>
--- Documentation/device-mapper/dm-flakey.txt | 2 +- drivers/md/dm-flakey.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
Documentation/device-mapper/dm-flakey.txt +1 -1
@@ -27,7 +27,7 @@ Mandatory parameters: Optional feature parameters: If no feature parameters are present, during the periods of - unreliability, all I/O returns errors. + unreliability, all write I/O returns errors. drop_writes: All write I/O is silently ignored.
drivers/md/dm-flakey.c +1 -1
@@ -312,7 +312,7 @@ static int flakey_map(struct dm_target *ti, struct bio *bio) }/* -* By default, error all I/O. +* By default, error all write I/O. */ return -EIO ; }
Signature · 1 line
1.7.1