Re: [dm-devel] dm: move dm_table_destroy() to same header as dm_table_create()

2017-04-05 Thread Enric Balletbo i Serra
Hi, On 05/04/17 00:35, Brian Norris wrote: > On Tue, Mar 28, 2017 at 03:31:51PM -0400, Mike Snitzer wrote: >> On Tue, Mar 28 2017 at 2:31pm -0400, >> Brian Norris wrote: >> >>> If anyone is going to use dm_table_create(), they probably should be >>> able to use

[dm-devel] [PATCH 5/5] dm verity: add support for version 0 of the on-disk format

2017-04-11 Thread Enric Balletbo i Serra
t used in the Chromium OS is still used in most devices. This patch adds support for the original on-disk format so you can decide which want you want to use. Signed-off-by: Will Drewry <w...@chromium.org> Signed-off-by: Enric Balletbo i Serra <enric.balle...@collabora.com> --- dr

[dm-devel] [PATCH 1/5] dm: move dm_table_destroy() to same header as dm_table_create()

2017-04-11 Thread Enric Balletbo i Serra
omium.org> Signed-off-by: Enric Balletbo i Serra <enric.balle...@collabora.com> --- drivers/md/dm.h | 1 - include/linux/device-mapper.h | 5 + 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/drivers/md/dm.h b/drivers/md/dm.h index f298b01..c54d2f1 100644 ---

[dm-devel] [PATCH 3/5] dm: export a table+mapped device to the ioctl interface

2017-04-11 Thread Enric Balletbo i Serra
device. Signed-off-by: Will Drewry <w...@chromium.org> Signed-off-by: Enric Balletbo i Serra <enric.balle...@collabora.com> --- drivers/md/dm-ioctl.c | 39 +++ include/linux/device-mapper.h | 6 ++ 2 files changed, 45 insertions(+) diff

[dm-devel] [PATCH 4/5] init: add support to directly boot to a mapped device

2017-04-11 Thread Enric Balletbo i Serra
omium.org> Signed-off-by: Enric Balletbo i Serra <enric.balle...@collabora.com> --- Documentation/admin-guide/kernel-parameters.rst | 1 + Documentation/admin-guide/kernel-parameters.txt | 3 + Documentation/device-mapper/boot.txt| 42

Re: [dm-devel] [PATCH 5/5] dm verity: add support for version 0 of the on-disk format

2017-04-11 Thread Enric Balletbo i Serra
On 11/04/17 19:21, Milan Broz wrote: > On 04/11/2017 05:33 PM, Enric Balletbo i Serra wrote: >> From: Will Drewry <w...@chromium.org> >> >> Version 0 of the on-disk format is compatible with the format used in the >> Chromium OS. This patch adds support for

[dm-devel] [PATCH 0/5] dm: boot a mapped device without an initramfs

2017-04-11 Thread Enric Balletbo i Serra
://patchwork.kernel.org/patch/104857/ https://patchwork.kernel.org/patch/104856/ https://patchwork.kernel.org/patch/104858/ Best regards, Enric Brian Norris (1): dm: move dm_table_destroy() to same header as dm_table_create() Enric Balletbo i Serra (1): dm: move dm definitions outside the private

[dm-devel] [PATCH 2/5] dm: move dm definitions outside the private header to boot dm targets.

2017-04-11 Thread Enric Balletbo i Serra
() dm_get_md_type() dm_setup_md_queue() Signed-off-by: Enric Balletbo i Serra <enric.balle...@collabora.com> --- drivers/md/dm.h | 7 --- include/linux/device-mapper.h | 8 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/drivers/md/dm.h b/drivers/md/dm.h

[dm-devel] [PATCH] dm-crypt: run in a WQ_HIGHPRI workqueue

2017-04-21 Thread Enric Balletbo i Serra
Murray <timmur...@google.com> Signed-off-by: Enric Balletbo i Serra <enric.balle...@collabora.com> --- We think that would be interesting share one issue that we have and know the opinion of the maintainers about this patch. One of the major causes of Bullhead devices slowdowns, is th

[dm-devel] [PATCH v6 2/3] dm: export a table+mapped device to the ioctl interface

2017-04-18 Thread Enric Balletbo i Serra
device. Signed-off-by: Will Drewry <w...@chromium.org> Signed-off-by: Kees Cook <keesc...@chromium.org> Signed-off-by: Enric Balletbo i Serra <enric.balle...@collabora.com> --- v6: none v5: resurrection v4: https://patchwork.kernel.org/patch/104860/ --- drivers/md

[dm-devel] [PATCH v6 1/3] dm: make some mapped_device functions available

2017-04-18 Thread Enric Balletbo i Serra
; Signed-off-by: Kees Cook <keesc...@chromium.org> Signed-off-by: Enric Balletbo i Serra <enric.balle...@collabora.com> --- v6: added more functions required v5: first version of this specific patch in the series --- drivers/md/dm.h | 8 include/linux/device-mapper

[dm-devel] [PATCH v6 3/3] init: add support to directly boot to a mapped device

2017-04-18 Thread Enric Balletbo i Serra
omium.org> Signed-off-by: Kees Cook <keesc...@chromium.org> Signed-off-by: Enric Balletbo i Serra <enric.balle...@collabora.com> --- v6: setup md->queue to reflect md's type, fix memory leak on error path v5: resurrection, multiple devices, cleanups, error repor

[dm-devel] [PATCH v6 0/3] dm: boot a mapped device without an initramfs

2017-04-18 Thread Enric Balletbo i Serra
Hello, Some of these patches were send few years back, I saw that first version was send to this list in 2010, and after version 4 did not land [1]. Some days ago I resend the patches [2] and few hours later I noticed that one year ago was send a v5 version [3] and I was not aware. There was

[dm-devel] [PATCH v7 1/2] init: add support to directly boot to a mapped device

2017-05-18 Thread Enric Balletbo i Serra
omium.org> Signed-off-by: Kees Cook <keesc...@chromium.org> [rework to use dm_ioctl calls] Signed-off-by: Enric Balletbo i Serra <enric.balle...@collabora.com> --- Documentation/admin-guide/kernel-parameters.rst | 1 + Documentation/admin-guide/kernel-parameters.txt | 3 + Docume

[dm-devel] [PATCH v7 0/2] dm: boot a mapped device without an initramfs

2017-05-18 Thread Enric Balletbo i Serra
-devel/2016-February/msg00112.html [1] https://www.redhat.com/archives/linux-lvm/2017-May/msg00047.html Wating for your feedback, Enric Balletbo i Serra (1): dm ioctl: add a device mapper ioctl function. Will Drewry (1): init: add support to directly boot to a mapped device Documentation/admin

[dm-devel] [PATCH v7 2/2] dm ioctl: add a device mapper ioctl function.

2017-05-18 Thread Enric Balletbo i Serra
Add a dm_ioctl_cmd to issue the equivalent of a DM ioctl call in kernel. Signed-off-by: Enric Balletbo i Serra <enric.balle...@collabora.com> --- drivers/md/dm-ioctl.c | 45 +++ include/linux/device-mapper.h | 6 ++ 2 files chang

[dm-devel] [PATCH v8 2/2] dm ioctl: add a device mapper ioctl function.

2017-05-19 Thread Enric Balletbo i Serra
Add a dm_ioctl_cmd to issue the equivalent of a DM ioctl call in kernel. Signed-off-by: Enric Balletbo i Serra <enric.balle...@collabora.com> --- drivers/md/dm-ioctl.c | 50 +++ include/linux/device-mapper.h | 6 ++ 2 files chang

[dm-devel] [PATCH v8 1/2] init: add support to directly boot to a mapped device

2017-05-19 Thread Enric Balletbo i Serra
omium.org> Signed-off-by: Kees Cook <keesc...@chromium.org> [rework to use dm_ioctl calls] Signed-off-by: Enric Balletbo i Serra <enric.balle...@collabora.com> --- Documentation/admin-guide/kernel-parameters.rst | 1 + Documentation/admin-guide/kernel-parameters.txt | 3 + Docume

[dm-devel] [PATCH v8 0/2] dm: boot a mapped device without an initramfs

2017-05-19 Thread Enric Balletbo i Serra
and semi-colon delimited dmsetup-like commands. Changes since v5: - https://www.redhat.com/archives/dm-devel/2016-February/msg00112.html [1] https://www.redhat.com/archives/linux-lvm/2017-May/msg00047.html Wating for your feedback, Enric Balletbo i Serra (1): dm ioctl: add a device mapper