All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mateusz Kusiak <mateusz.kusiak@linux.intel.com>
To: linux-raid@vger.kernel.org
Subject: MD: Long delay for container drive removal
Date: Tue, 18 Jun 2024 16:24:50 +0200	[thread overview]
Message-ID: <814ff6ee-47a2-4ba0-963e-cf256ee4ecfa@linux.intel.com> (raw)

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

             reply	other threads:[~2024-06-18 14:25 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-18 14:24 Mateusz Kusiak [this message]
2024-06-20 12:43 ` MD: Long delay for container drive removal Mateusz Kusiak
2024-06-24  7:14   ` Mariusz Tkaczyk
2024-06-25  9:25     ` Yu Kuai

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=814ff6ee-47a2-4ba0-963e-cf256ee4ecfa@linux.intel.com \
    --to=mateusz.kusiak@linux.intel.com \
    --cc=linux-raid@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.