On 04/18/2017 02:07 AM, Xose Vazquez Perez wrote:
> Cc: Christophe Varoqui
> Cc: device-mapper development
> Signed-off-by: Xose Vazquez Perez
This is missing.
> ---
> libmultipath/propsel.c | 6 +++---
> 1 file
musl libc complains of
lopart.c:76:12: error: ‘PATH_MAX’ undeclared (first use in this function)
Cc: Martin Wilck
Cc: Christophe Varoqui
Cc: device-mapper development
Signed-off-by: Xose Vazquez Perez
This set is merged.
Thanks.
On Tue, May 9, 2017 at 6:56 PM, Benjamin Marzinski
wrote:
> Here are a number of small multipath fixes. These patches are based on
> top of my and Martin's previous patch sets.
>
> Benjamin Marzinski (6):
> libmultipath: print alias with
Merged.
Thanks.
On Sat, May 13, 2017 at 7:44 AM, Benjamin Marzinski
wrote:
> when mpathpersist goes to rollback reservations, it doesn't do a
> rollback (and thus doesn't create a pthread) on paths that didn't
> successfully create a reservation in the first place. It also
v2 of this set is merged.
Thanks.
On Wed, May 17, 2017 at 5:24 PM, Martin Wilck wrote:
> Two minor fixes that I found necessary recently.
>
> Both touch potentially bigger issues - the first one print.c, which
> might need some general overhaul at some time in the future, and
The set is merged, thanks.
On Wed, May 17, 2017 at 7:06 PM, Benjamin Marzinski
wrote:
> On Mon, May 15, 2017 at 05:37:10PM +0200, Martin Wilck wrote:
>
> ACK for the set
>
> -Ben
>
> > Working on a bug report about kpartx not properly removing
> > partitions for loop
This patch is dropped, due to
Martin's 8b9cda51f5c64bc869188ca0b2e1ac0e7eb7c667 patch switching to
sys/sysmacros.h
Otherwise, the rest of the set is now merged.
Thanks.
On Wed, May 17, 2017 at 5:43 PM, Bart Van Assche wrote:
> Avoid that building against glibc >=
Hi Linus,
The following changes since commit 2ea659a9ef488125eb46da6eb571de5eae5c43f6:
Linux 4.12-rc1 (2017-05-13 13:19:49 -0700)
are available in the git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/device-mapper/linux-dm.git
tags/for-4.12/dm-fixes-2
for you to fetch
On Tue, May 16 2017 at 4:03pm -0400,
Mike Snitzer wrote:
> I see quite a few issues with this patchset (only gotten through patches
> 1 - 6). I'll work through it in more detail and share my
> feedback/revisions tomorrow. Mostly just cleanups, renames, etc. But
> "the
On Mon, May 15, 2017 at 05:37:10PM +0200, Martin Wilck wrote:
ACK for the set
-Ben
> Working on a bug report about kpartx not properly removing
> partitions for loop devices, I realized a number of glitches
> and improperly handled corner cases in the kpartx code for
> deleting partitions. Some
Since it is not necessary to use the "extern" keyword in front of
a function definition, remove that keyword.
Signed-off-by: Bart Van Assche
---
libmultipath/propsel.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/libmultipath/propsel.c
Since this function is not used, remove it.
Signed-off-by: Bart Van Assche
---
libmpathpersist/mpath_pr_ioctl.c | 15 ---
1 file changed, 15 deletions(-)
diff --git a/libmpathpersist/mpath_pr_ioctl.c b/libmpathpersist/mpath_pr_ioctl.c
index
This change avoids that the "#include "configure.h"" statements that
are added by the next patch trigger a compiler warning.
Signed-off-by: Bart Van Assche
---
libmultipath/configure.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/libmultipath/configure.h
No multipath-tools source file or Makefile imports anything directly
from the kernel source tree. Hence remove the variables that refer to
the kernel tree.
Since the $(VERSION) Makefile macro is not used, remove it. Note:
the version number is defined as a macro in libmultipath/version.h.
On Wed, 2017-05-17 at 15:54 +0200, Martin Wilck wrote:
> +# $(call TEST_CC_OPTION,option,fallback)
> +# Test if the C compiler supports the option.
> +# Evaluates to "option" if yes, and "fallback" otherwise.
> +TEST_CC_OPTION = $(shell \
> + if $(CC) -o /dev/null -c "$(1)" -xc - <<<'int
On Tue, May 16, 2017 at 08:56:40PM +0200, Martin Wilck wrote:
> On Tue, 2017-05-16 at 12:33 -0500, Benjamin Marzinski wrote:
> > On Thu, May 11, 2017 at 10:26:52PM +0200, Martin Wilck wrote:
> > > On Tue, 2017-05-09 at 11:57 -0500, Benjamin Marzinski wrote:
> > > > When multipath reloads a device,
On Wed, 2017-05-17 at 15:54 +0200, Martin Wilck wrote:
> #define ENDLINE \
> - if (c > line) \
> - line[c - line - 1] = '\n'
> + if (c > line) { \
> + if (c <= line + len - 1) { \
> +
Avoid that building against glibc >= 2.25 triggers the following
compiler warning:
lopart.c: In function 'is_loop_device':
lopart.c:93:13: warning: In the GNU C Library, "major" is defined
by . For historical compatibility, it is
currently defined by as well, but we plan to
remove this soon.
This allows the compiler to verify consistency of declaration and
definition.
Signed-off-by: Bart Van Assche
---
libmpathpersist/mpath_persist.h | 3 +++
mpathpersist/main.c | 1 -
multipathd/main.c | 2 --
3 files changed, 3 insertions(+),
Hello Christoph,
The seven patches in this series are minor changes to a Makefile,
header files and source files that do not change any functionality
but make the code easier to maintain.
Please consider the patches in this series for inclusion in the
multipath-tools project.
Thanks,
Bart.
Make sure that including mpathpr.h as the first header file does not
fail. Since mpath_updatepr.c defines functions declared in mpathpr.h,
include that header file in that .c file such that the compiler can
check consistency of the .h and the .c file.
Signed-off-by: Bart Van Assche
Two minor fixes that I found necessary recently.
Both touch potentially bigger issues - the first one print.c, which
might need some general overhaul at some time in the future, and the
second one the build process of multipath tools, which is currently
lacking an "autobuild" mechanism.
My
Under certain conditions, the output of "multipath -ll" or
"multipathd show topology", or the multipathd logs, may
contain garbage characters. Fix that by making sure that
the strings are always properly zero-terminated.
While touching this code, substitute a function for the
complex ENDLINE
Hi Martin,
On 05/17/2017 03:54 PM, Martin Wilck wrote:
> Under certain conditions, the output of "multipath -ll" or
> "multipathd show topology", or the multipathd logs, may
> contain garbage characters. Fix that by making sure that
> the strings are always properly zero-terminated.
>
> Note 1:
gcc supports -fstack-protector-strong since v4.9 only. Add a "poor man's
autoconf" test to check whether the option is supported on the given
build system.
Fixes: 596f51f3
"multipath-tools: Replace -fstack-protector with -fstack-protector-strong"
Signed-off-by: Martin Wilck
---
Under certain conditions, the output of "multipath -ll" or
"multipathd show topology", or the multipathd logs, may
contain garbage characters. Fix that by making sure that
the strings are always properly zero-terminated.
Note 1: The way this is coded, the previously written
character is
Two minor fixes that I found necessary recently.
Both touch potentially bigger issues - the first one print.c, which
might need some general overhaul at some time in the future, and the
second one the build process of multipath tools, which is currently
lacking an "autobuild" mechanism.
My
Running rawhide in KVM,
kernel:
4.12.0-0.rc1.git1.1.fc27.x86_64
- latest 4.12 build in rawhide
cryptsetup commit:
d9a528922b5d1a15c72936ea2e5e87ce2d31bc3d
- HEAD of wip-luks2 branch as of 2017-05-16
...
[ 1057.722305] buffer_io_error: 146 callbacks suppressed
[ 1057.723514] Buffer I/O error
28 matches
Mail list logo