* [PATCH] multipath-tools: increase the print length of the multipath fields
@ 2016-11-10 12:32 tang.wenji
2016-11-20 9:21 ` Christophe Varoqui
0 siblings, 1 reply; 2+ messages in thread
From: tang.wenji @ 2016-11-10 12:32 UTC (permalink / raw)
To: Christophe Varoqui; +Cc: zhang.kai16, dm-devel, tang.wenji
From: "tang.wenji" <tang.wenji@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@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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] multipath-tools: increase the print length of the multipath fields
2016-11-10 12:32 [PATCH] multipath-tools: increase the print length of the multipath fields tang.wenji
@ 2016-11-20 9:21 ` Christophe Varoqui
0 siblings, 0 replies; 2+ messages in thread
From: Christophe Varoqui @ 2016-11-20 9:21 UTC (permalink / raw)
To: tang.wenji; +Cc: zhang.kai16, device-mapper development
[-- Attachment #1.1: Type: text/plain, Size: 945 bytes --]
Applied,
thanks.
On Thu, Nov 10, 2016 at 1:32 PM, <tang.wenji@zte.com.cn> wrote:
> From: "tang.wenji" <tang.wenji@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@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
>
>
[-- Attachment #1.2: Type: text/html, Size: 1550 bytes --]
[-- Attachment #2: Type: text/plain, Size: 0 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-11-20 9:21 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-11-10 12:32 [PATCH] multipath-tools: increase the print length of the multipath fields tang.wenji
2016-11-20 9:21 ` Christophe Varoqui
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.