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

Mikulas Patocka mpatocka at redhat.com
Tue Jan 12 17:59:24 UTC 2016



On Wed, 13 Jan 2016, kusumi.tomohiro at gmail.com wrote:

> From: Tomohiro Kusumi <kusumi.tomohiro at gmail.com>
> 
> Mention it's in sector similar to f49e869.
> It sounds like one specifies it in a number like 4096.
> 
> Signed-off-by: Tomohiro Kusumi <kusumi.tomohiro at gmail.com>
> ---
>  Documentation/device-mapper/striped.txt |    4 ++--
>  1 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/Documentation/device-mapper/striped.txt b/Documentation/device-mapper/striped.txt
> index 45f3b91..f109b54 100644
> --- a/Documentation/device-mapper/striped.txt
> +++ b/Documentation/device-mapper/striped.txt
> @@ -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.
> -- 
> 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




More information about the dm-devel mailing list