Re: [dm-devel] [PATCH v12] dm: add support to directly boot to a mapped device

2019-02-21 Thread Kees Cook
On Thu, Feb 21, 2019 at 12:33 PM Helen Koike wrote: > > Add a "create" module parameter, which allows device-mapper targets to be > configured at boot time. This enables early use of dm targets in the boot > process (as the root device or otherwise) without the need of an initramfs. > > The

Re: [dm-devel] [PATCH] dm-switch: use struct_size() in kzalloc()

2019-02-21 Thread Gustavo A. R. Silva
Hi all, Friendly ping: Who can take this? Thanks -- Gustavo On 1/8/19 10:02 AM, Gustavo A. R. Silva wrote: > One of the more common cases of allocation size calculations is finding the > size of a structure that has a zero-sized array at the end, along with memory > for some number of elements

Re: [dm-devel] [PATCH v11] dm: add support to directly boot to a mapped device

2019-02-21 Thread Kees Cook
On Thu, Feb 21, 2019 at 7:50 AM Mike Snitzer wrote: > > On Mon, Feb 18 2019 at 1:18pm -0500, > Helen Koike wrote: > > > Add a dm-mod.create= kernel module parameter. > > It allows device-mapper targets to be configured at boot time for use early > > in the boot process (as the root device or

Re: [dm-devel] dm-switch: use struct_size() in kzalloc()

2019-02-21 Thread Mike Snitzer
On Thu, Feb 21 2019 at 10:27am -0500, Gustavo A. R. Silva wrote: > Hi all, > > Friendly ping: > > Who can take this? I've picked it up for 5.1: https://git.kernel.org/pub/scm/linux/kernel/git/device-mapper/linux-dm.git/commit/?h=dm-5.1=042f96ad4c5a369307df2a840fd943a4b080c3d1 Thanks, Mike

Re: [dm-devel] [PATCH V15 14/18] block: enable multipage bvecs

2019-02-21 Thread Marek Szyprowski
gt;>>>>> b6e8d0b8 >>>>>> 3fc0: bea77a18 b6f92010 b6e8d0b8 0001 b6e8d0c8 0001 b6e8c000 >>>>>> bea77b60 >>>>>> 3fe0: 0020 bea77998 b6d52368 6050 >>>>>> CPU3: stopping >>>>>&

Re: [dm-devel] [PATCH V15 14/18] block: enable multipage bvecs

2019-02-21 Thread Marek Szyprowski
gather more logs if needed, just let me which kernel option to enable. Reverting this commit on top of next-20190218 as well as current linux-next (tested with next-20190221) fixes this issue and makes the system bootable again. > --- > block/bio.c | 22 +++---

Re: [dm-devel] [PATCH V15 14/18] block: enable multipage bvecs

2019-02-21 Thread Marek Szyprowski
32bit Samsung Exynos4412-based Odroid U3 (device tree >> source: arch/arm/boot/dts/exynos4412-odroidu3.dts) >> >> 2. Block device: MMC/SDHCI/SDHCI-S3C with SD card >> (drivers/mmc/host/sdhci-s3c.c driver, sdhci_2 device node in the device >> tree) >> &

Re: [dm-devel] [PATCH V15 14/18] block: enable multipage bvecs

2019-02-21 Thread Marek Szyprowski
>>> CPU3: stopping >>>> >>>> I would like to help debugging and fixing this issue, but I don't really >>>> have idea where to start. Here are some more detailed information about >>>> my test system: >>>> >>>> 1. Board: A

[dm-devel] [PATCH] dm-writecache: fix typo when alloc workqueue for writeback_wq

2019-02-21 Thread Huaisheng Ye
From: Huaisheng Ye The workqueue's name should be "writecache-writeback" instead of "writecache-writeabck". Signed-off-by: Huaisheng Ye --- drivers/md/dm-writecache.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/md/dm-writecache.c b/drivers/md/dm-writecache.c

Re: [dm-devel] [PATCH V15 14/18] block: enable multipage bvecs

2019-02-21 Thread Ming Lei
20 bea77998 b6d52368 6050 ffff > >>>> CPU3: stopping > >>>> > >>>> I would like to help debugging and fixing this issue, but I don't really > >>>> have idea where to start. Here are some more detailed information about > >

Re: [dm-devel] [PATCH V15 14/18] block: enable multipage bvecs

2019-02-21 Thread Ming Lei
information about > >> my test system: > >> > >> 1. Board: ARM 32bit Samsung Exynos4412-based Odroid U3 (device tree > >> source: arch/arm/boot/dts/exynos4412-odroidu3.dts) > >> > >> 2. Block device: MMC/SDHCI/SDHCI-S3C with SD card > >> (