Re: [PATCH 2/2] dm-verity: prefetch all hash blocks in verity_ctr

2025-04-04 Thread Mikulas Patocka
On Wed, 2 Apr 2025, LongPing Wei wrote: > On 2025/4/2 17:56, Mikulas Patocka wrote: > > > > > > On Wed, 2 Apr 2025, LongPing Wei wrote: > > > > > At this time, all bios for hash blocks should eventually > > > be merged into a single large bio. > > > > > > Signed-off-by: LongPing Wei > > >

[PATCH v3 3/4] multipathd: re-add paths skipped because they were offline

2025-04-04 Thread Benjamin Marzinski
When a new device is added by the multipath command, multipathd may know of other paths that cannot be added to the device because they are currently offline. Instead of ignoring these paths, multipathd will now re-add them when they come back online. To do this, it multipathd needs a new path vari

[PATCH 2/2] libdmmp/Makefile: Add target docs/man/dmmp_strerror.3 to .PHONY list

2025-04-04 Thread Sofiane HAMAM
From: Kéléfa Sané When checking out the git repos, sometimes, target docs/man/dmmp_strerror.3 is newer that the prerequisite libdmmp/libdmmp.h this leads to a non reproducible behavior: Sometimes, the timestamps are updated in the manpages, sometimes not. Signed-off-by: Yoann Congal Signed-off-

[PATCH blktests 2/3] dm/003: add unmap write zeroes tests

2025-04-04 Thread Zhang Yi
From: Zhang Yi Test block device unmap write zeroes sysfs interface with device-mapper stacked devices. The /sys/block//queue/write_zeroes_unmap interface should return 1 if the underlying devices support the unmap write zeroes command, and it should return 0 otherwise. Signed-off-by: Zhang Yi

[PATCH xfstests 1/5] generic/764: add page boundaries tests for fallocate write zeroes

2025-04-04 Thread Zhang Yi
From: Zhang Yi Add page boundaries and boundaries that are off-by-one tests for the fallocate FALLOC_FL_WRITE_ZEROES command. Signed-off-by: Zhang Yi --- common/rc | 2 +- tests/generic/764 | 34 tests/generic/764.out | 433 ++ 3

[PATCH] multipath-tools: remove checker from Huawei OceanStor NVMe

2025-04-04 Thread Xose Vazquez Perez
A keep alive timer is implemented in the NVMe-oF protocol by default, which acts like a path checker. Therefore, change path_checker to default, "none" for NVMe arrays. Cc: Martin Wilck Cc: Benjamin Marzinski Cc: Christophe Varoqui Cc: DM-DEVEL ML Signed-off-by: Xose Vazquez Perez --- libmul

[PATCH 1/2] libdmmp/Makefile: Fix KBUILD_BUILD_TIMESTAMP usage

2025-04-04 Thread Sofiane HAMAM
From: Kéléfa Sané Add missing $ (Makefile need to escape '$' as '$$') Signed-off-by: Yoann Congal Signed-off-by: Sofiane HAMAM Signed-off-by: Kelefa Sane --- libdmmp/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libdmmp/Makefile b/libdmmp/Makefile index 172ba04

Re: [PATCH v3 0/4] fix issue of multipathd not tracking device

2025-04-04 Thread Martin Wilck
On Wed, 2025-04-02 at 19:13 -0400, Benjamin Marzinski wrote: > I ran into an issue where multipathd wasn't tracking a multipath > device that was created by the multipath command. It turns out that > if > multipathd fully initialized a path device, and that device later > goes offline and then a mu

Re: [PATCH RFC v2 00/14] md: introduce a new lockless bitmap

2025-04-04 Thread Christoph Hellwig
On Fri, Mar 28, 2025 at 02:08:39PM +0800, Yu Kuai wrote: > 1) user must apply the following mdadm patch, and then llbitmap can be > enabled by --bitmap=lockless > https://lore.kernel.org/all/20250327134853.1069356-1-yuku...@huaweicloud.com/ > 2) this set is cooked on the top of my other set: > http

Re: [PATCH RFC v2 02/14] md/md-bitmap: pass discard information to bitmap_{start, end}write

2025-04-04 Thread Christoph Hellwig
> int (*startwrite)(struct mddev *mddev, sector_t offset, > - unsigned long sectors); > + unsigned long sectors, bool is_discard); > void (*endwrite)(struct mddev *mddev, sector_t offset, > - unsigned long sectors); > +

Re: [PATCH] block: remove non-existent partition dev_t return from blk_lookup_devt

2025-04-04 Thread Christoph Hellwig
NAK. Don't do this. Md at least has a reason for doing this silly things as in the code as written in the 1990s where people did not know better. The dm-initwait code has no such excuse as it was written recently and explicitly ignored the rules to not use this early dev_t lookup code that is kn