[dm-devel] [PATCH] multipath-tools: increase the print length of the multipath fields
Christophe Varoqui
christophe.varoqui at opensvc.com
Sun Nov 20 09:21:01 UTC 2016
Applied,
thanks.
On Thu, Nov 10, 2016 at 1:32 PM, <tang.wenji at zte.com.cn> wrote:
> From: "tang.wenji" <tang.wenji at zte.com.cn>
>
> The maximum field length is set to 64, which may be truncated when
> displayed.
> E.g:the multipath's 'features' field sets as "6 queue_if_no_path
> pg_init_retries 3 pg_init_delay_msecs 30 retain_attached_hw_handler", but
> it shows as "6 queue_if_no_path pg_init_retries 3 pg_init_delay_msecs 30
> ret" .
>
> Signed-off-by: tang.wenji <tang.wenji at zte.com.cn>
> ---
> libmultipath/print.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/libmultipath/print.h b/libmultipath/print.h
> index 6839fc7..b8c3436 100644
> --- a/libmultipath/print.h
> +++ b/libmultipath/print.h
> @@ -66,7 +66,7 @@
>
> #define MAX_LINE_LEN 80
> #define MAX_LINES 64
> -#define MAX_FIELD_LEN 64
> +#define MAX_FIELD_LEN 128
> #define PROGRESS_LEN 10
>
> struct path_data {
> --
> 2.8.1.windows.1
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/dm-devel/attachments/20161120/8da7dfe0/attachment.htm>
More information about the dm-devel
mailing list