From: tang.wenji@zte.com.cn
To: Christophe Varoqui <christophe.varoqui@opensvc.com>
Cc: zhang.kai16@zte.com.cn, dm-devel@redhat.com,
"tang.wenji" <tang.wenji@zte.com.cn>
Subject: [PATCH] multipath-tools: increase the print length of the multipath fields
Date: Thu, 10 Nov 2016 20:32:01 +0800 [thread overview]
Message-ID: <1478781121-10924-1-git-send-email-tang.wenji@zte.com.cn> (raw)
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
next reply other threads:[~2016-11-10 12:32 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-11-10 12:32 tang.wenji [this message]
2016-11-20 9:21 ` [PATCH] multipath-tools: increase the print length of the multipath fields Christophe Varoqui
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1478781121-10924-1-git-send-email-tang.wenji@zte.com.cn \
--to=tang.wenji@zte.com.cn \
--cc=christophe.varoqui@opensvc.com \
--cc=dm-devel@redhat.com \
--cc=zhang.kai16@zte.com.cn \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).