All of lore.kernel.org
 help / color / mirror / Atom feed
From: Petr Rockai <prockai@redhat.com>
To: lvm-devel@redhat.com
Subject: master - lvmetad: Wait at least 80s for the initial scan.
Date: Tue, 25 Mar 2014 18:25:43 +0100	[thread overview]
Message-ID: <87d2hachrc.fsf@aldalome.mornfall.net> (raw)
In-Reply-To: <5331A82E.5000906@suse.de> (Hannes Reinecke's message of "Tue, 25 Mar 2014 09:00:46 -0700")

Hi,

Hannes Reinecke <hare@suse.de> writes:
> Can't we have a configuration setting for this?
> I can imagine plenty of scenarios where the default value might not be
> applicable, being either to short or too long.

can you share such a scenario? This code path is currently hit in the
boot sequence (where a 90s timeout is already imposed by systemd, IIUIC)
and in the rare case where you change global_filter in lvm.conf. We hope
the boot code will be able to avoid it altogether, so eventually, the
only place where this can happen is when you modify global_filter and
then run two LVM commands in parallel. If the first takes more than 80s
to do its initial scanning, the second command will time out.

Petr

-- 
id' Ash = Ash; id' Dust = Dust; id' _ = undefined



  reply	other threads:[~2014-03-25 17:25 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-25 15:39 master - lvmetad: Wait at least 80s for the initial scan Petr Rockai
2014-03-25 16:00 ` Hannes Reinecke
2014-03-25 17:25   ` Petr Rockai [this message]
2014-03-26 10:16 ` Marian Csontos

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=87d2hachrc.fsf@aldalome.mornfall.net \
    --to=prockai@redhat.com \
    --cc=lvm-devel@redhat.com \
    /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.