All of lore.kernel.org
 help / color / mirror / Atom feed
* MD: Long delay for container drive removal
@ 2024-06-18 14:24 Mateusz Kusiak
  2024-06-20 12:43 ` Mateusz Kusiak
  0 siblings, 1 reply; 4+ messages in thread
From: Mateusz Kusiak @ 2024-06-18 14:24 UTC (permalink / raw)
  To: linux-raid

Hi all,
we have an issue submitted for SLES15SP6 that is caused by huge delays when trying to remove drive 
from a container.

The scenario is as follows:
1. Create two drive imsm container
# mdadm --create --run /dev/md/imsm --metadata=imsm --raid-devices=2 /dev/nvme[0-1]n1
2. Remove single drive from container
# mdadm /dev/md127 --remove /dev/nvme0n1

The problem is that drive removal may take up to 7 seconds, which causes timeouts for other 
components that are mdadm dependent.

We narrowed it down to be MD related. We tested this with inbox mdadm-4.3 and mdadm-4.2 on SP6 and 
delay time is pretty much the same. SP5 is free of this issue.

I also tried RHEL 8.9 and drive removal is almost instant.

Is it default behavior now, or should we treat this as an issue?

Thanks,
Mateusz

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-06-25  9:25 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-18 14:24 MD: Long delay for container drive removal Mateusz Kusiak
2024-06-20 12:43 ` Mateusz Kusiak
2024-06-24  7:14   ` Mariusz Tkaczyk
2024-06-25  9:25     ` Yu Kuai

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.