1. call blk_flush_plug when cache hit as the address of the subsequent
bio is no longer contiguous with the previous bio;
2. skip cond_resched when ioprio class is rt;
Signed-off-by: LongPing Wei
---
drivers/md/dm-bufio.c | 5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/d
On 2025/4/3 2:44, Mikulas Patocka wrote:
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
---
We encountered frequent boot failures while setting up a dm-verity rootfs with
the following configuration, and found that this issue had been reported
previously:
root=/dev/dm-0
dm-mod.waitfor=/dev/mmcblk0p23
The error observed was:
device-mapper: table: 254:0: verity: Data device lookup
There is nothing for update_uninitialized_path() to do for paths in the
INIT_MISSING_UDEV state. In fact, there shouldn't be any paths in this
state when update_uninitialized_path() is called, since they will have
switched to a different state in check_uninitialized_path().
Signed-off-by: Benjamin
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 multipath device that could use that path is
created by multipath, multip
If a multipath device was created by the multipath command, multipathd
might not agree with how the device was created. ev_add_map() can reload
the device with a different table by calling add_map_without_path() ->
update_map(). If this reloading of the map failed, multipathd was simply
ignoring th
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
---
drivers/md/dm-verity-target.c | 4
1 file changed, 4 insertions(+)
diff --gi
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
> ---
> drivers/md/dm-verity-target.c | 4
> 1 file changed, 4 insertions(+)
>
> diff --git a/drivers/md/dm-verity-tar
On Wed, Apr 02, 2025 at 06:42:34PM +0200, Martin Wilck wrote:
> On Mon, 2025-03-31 at 19:17 -0400, Benjamin Marzinski wrote:
> > 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.