Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id B8A12C4332F for ; Fri, 2 Dec 2022 06:51:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1669963883; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=F/fAQor7A/AKHK4kgxyNatWva+w348EUaLV9nEJp68g=; b=Gxdb/qXSzbHi9fa0otsLlrQ3OMi1uj+TiL1ZmjFg2+LIFhoSFUIB0pWsXqO8pzeMsAWo5j jvIOWX/+y+fJSsr2mB9x8A5ooTdQRC8iz8EXlGwUrcEy6e+FKKRqlSS7F7hNBHsx/HaTO7 RX4CY2wlSUDBw8XSFXVyJYvVR1C3nPE= Received: from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-626-P5U2qIJLPyK4Uv3vK4_3LQ-1; Fri, 02 Dec 2022 01:51:20 -0500 X-MC-Unique: P5U2qIJLPyK4Uv3vK4_3LQ-1 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.rdu2.redhat.com [10.11.54.4]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 47B3F380670A; Fri, 2 Dec 2022 06:51:19 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com [10.30.29.100]) by smtp.corp.redhat.com (Postfix) with ESMTP id EBCE12028E96; Fri, 2 Dec 2022 06:51:18 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (localhost [IPv6:::1]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id B008519465A8; Fri, 2 Dec 2022 06:51:18 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.rdu2.redhat.com [10.11.54.6]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id B92F719465A0 for ; Fri, 2 Dec 2022 06:51:17 +0000 (UTC) Received: by smtp.corp.redhat.com (Postfix) id 9BB022166BBA; Fri, 2 Dec 2022 06:51:17 +0000 (UTC) Received: from mimecast-mx02.redhat.com (mimecast04.extmail.prod.ext.rdu2.redhat.com [10.11.55.20]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 94C712166BB6 for ; Fri, 2 Dec 2022 06:51:17 +0000 (UTC) Received: from us-smtp-1.mimecast.com (us-smtp-1.mimecast.com [205.139.110.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 7AB00101A52A for ; Fri, 2 Dec 2022 06:51:17 +0000 (UTC) Received: from relay11.mail.gandi.net (relay11.mail.gandi.net [217.70.178.231]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-306-BwypiQ5uOdu1Y5a5xB1EQA-1; Fri, 02 Dec 2022 01:51:13 -0500 X-MC-Unique: BwypiQ5uOdu1Y5a5xB1EQA-1 Received: (Authenticated sender: peter@korsgaard.com) by mail.gandi.net (Postfix) with ESMTPSA id 83236100002; Fri, 2 Dec 2022 06:51:10 +0000 (UTC) Received: from peko by dell.be.48ers.dk with local (Exim 4.94.2) (envelope-from ) id 1p0zt7-007WkC-Ei; Fri, 02 Dec 2022 07:51:09 +0100 From: Peter Korsgaard To: Mike Snitzer References: <20221116061656.2345538-1-peter@korsgaard.com> <877czkhc7u.fsf@dell.be.48ers.dk> <87bkond1mi.fsf@dell.be.48ers.dk> <871qpjcc50.fsf@dell.be.48ers.dk> Date: Fri, 02 Dec 2022 07:51:09 +0100 In-Reply-To: (Mike Snitzer's message of "Fri, 2 Dec 2022 01:44:53 -0500") Message-ID: <87mt869u3m.fsf@dell.be.48ers.dk> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 X-Mimecast-Impersonation-Protect: Policy=CLT - Impersonation Protection Definition; Similar Internal Domain=false; Similar Monitored External Domain=false; Custom External Domain=false; Mimecast External Domain=false; Newly Observed Domain=false; Internal User Name=false; Custom Display Name List=false; Reply-to Address Mismatch=false; Targeted Threat Dictionary=false; Mimecast Threat Dictionary=false; Custom Threat Dictionary=false X-Scanned-By: MIMEDefang 3.1 on 10.11.54.6 Subject: Re: [dm-devel] [PATCH v2] dm init: add dm-mod.waitfor to wait for asynchronously probed block devices X-BeenThere: dm-devel@redhat.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: device-mapper development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Jonathan Corbet , Mike Snitzer , dm-devel@redhat.com, fabio.aiuto@amarulasolutions.com, Helen Koike , michael@amarulasolutions.com Errors-To: dm-devel-bounces@redhat.com Sender: "dm-devel" X-Scanned-By: MIMEDefang 3.1 on 10.11.54.4 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit >>>>> "Mike" == Mike Snitzer writes: Hi, > OK, I'll accept your patch, but will tweak the DMINFO slightly to look > more like rootwait's pr_info (e.g. "Waiting for device %s..." and such). > I'll also change the msleep(20) to msleep(5) like was introduced with > commit 39a0e975c37de ("init: reduce rootwait polling interval time to > 5ms") -- checkpatch be damned. ;) Cool, thanks! -- Bye, Peter Korsgaard -- dm-devel mailing list dm-devel@redhat.com https://listman.redhat.com/mailman/listinfo/dm-devel