Re: [dm-devel] [PATCH v5 2/9] dax: Introduce holder for dax_device

2021-07-21 Thread ruansy.f...@fujitsu.com
> -Original Message- > Subject: Re: [PATCH v5 2/9] dax: Introduce holder for dax_device > > On Mon, Jun 28, 2021 at 08:02:11AM +0800, Shiyang Ruan wrote: > > +int dax_holder_notify_failure(struct dax_device *dax_dev, loff_t offset, > > + size_t size, void *data) > >

[dm-devel] Kernel 4.14: Using dm-verity with squashfs rootfs - mounting issue

2021-07-21 Thread Pintu Agarwal
Hi, Our ARM32 Linux embedded system consists of these: * Linux Kernel: 4.14 * Processor: Qualcomm Arm32 Cortex-A7 * Storage: NAND 512MB * Platform: Simple busybox * Filesystem: UBIFS, Squashfs * Consists of nand raw partitions, squashfs ubi volumes. My requirement: We wanted to use dm-verity at b

Re: [dm-devel] [PATCH 1/7] dm: measure data on table load

2021-07-21 Thread Mike Snitzer
On Tue, Jul 20 2021 at 10:12P -0400, Mimi Zohar wrote: > Hi Tushar, Mike, > > On Mon, 2021-07-12 at 17:48 -0700, Tushar Sugandhi wrote: > > +struct dm_ima_device_table_metadata { > > + /* > > +* Contains data specific to the device which is common across > > +* all the tar

Re: [dm-devel] [PATCH 1/7] dm: measure data on table load

2021-07-21 Thread Mimi Zohar
On Wed, 2021-07-21 at 11:42 -0400, Mike Snitzer wrote: > On Tue, Jul 20 2021 at 10:12P -0400, > Mimi Zohar wrote: > > > Hi Tushar, Mike, > > > > On Mon, 2021-07-12 at 17:48 -0700, Tushar Sugandhi wrote: > > > +struct dm_ima_device_table_metadata { > > > + /* > > > +* Contains data

Re: [dm-devel] Kernel 4.14: Using dm-verity with squashfs rootfs - mounting issue

2021-07-21 Thread Mikulas Patocka
On Wed, 21 Jul 2021, Pintu Agarwal wrote: > On Tue, 20 Jul 2021 at 17:12, Mikulas Patocka wrote: > > > > Hi > > > > Try to set up dm-verity with block size 512 bytes. > > > > I don't know what block size does squashfs use, but if the filesystem > > block size is smaller than dm-verity block si

Re: [dm-devel] [PATCH 1/7] dm: measure data on table load

2021-07-21 Thread Mimi Zohar
On Wed, 2021-07-21 at 12:07 -0400, Mimi Zohar wrote: > On Wed, 2021-07-21 at 11:42 -0400, Mike Snitzer wrote: > > On Tue, Jul 20 2021 at 10:12P -0400, > > Mimi Zohar wrote: > > > > > Hi Tushar, Mike, > > > > > > On Mon, 2021-07-12 at 17:48 -0700, Tushar Sugandhi wrote: > > > > +struct dm_ima_de

[dm-devel] [Question] multipathd.service start failed when /var/run isn't mount

2021-07-21 Thread lixiaokeng
When we enable multipathd.service with systemctl and reboot, multipathd doesn't start and log "failed to create pidfile". The reason is following: The RUN is /var/run in multipath-tools. When we start linux, we mount a disk to /var. So if multipathd.service start before mount, it will fail to act