[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: [dm-devel] [PATCH 0/3][RESEND]multipath-tools: mpathpersist utility for managing persistent reservation on dm multipath device.
- From: Christophe Varoqui <christophe varoqui gmail com>
- To: "Chauhan, Vijay" <Vijay Chauhan netapp com>
- Cc: dm-devel <dm-devel redhat com>
- Subject: Re: [dm-devel] [PATCH 0/3][RESEND]multipath-tools: mpathpersist utility for managing persistent reservation on dm multipath device.
- Date: Sat, 11 Feb 2012 09:43:06 +0100
On ven., 2012-02-10 at 18:47 +0000, Chauhan, Vijay wrote:
> git://github.com/vijaychauhan/multipath-tools.git
Ok. This repo is merged.
I had to add a small build fix. Can you verify it's correctness ?
Are you sure the -H (hex) flag is used ? gcc reports the flag as unused.
If it's not used I think you should either remove it from the usage
message and man or add the feature.
On the same topic:
in mpathpersist,
main.c:403:7: attention : variable ‘t_arr_len’ set but not used
[-Wunused-but-set-variable]
and in libmpathpersist,
mpath_persist.c: In function ‘mpath_send_prin_activepath’:
mpath_persist.c:397:20: attention : variable ‘param’ set but not used
[-Wunused-but-set-variable]
mpath_persist.c: In function ‘mpath_prout_common’:
mpath_persist.c:553:15: attention : variable ‘pptemp’ set but not used
[-Wunused-but-set-variable]
mpath_pr_ioctl.c: In function ‘dumpHex’:
mpath_pr_ioctl.c:519:15: attention : variable ‘formatstr’ set but not
used [-Wunused-but-set-variable]
Also I though sg_persist has IN mode set as default, so that simple
commands are simple to write : sg_persist -r /dev/sda. Can we restore
that nice feature ?
Anyway, thanks for the great work.
Regards,
cvaroqui
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]