From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 10677C4338F for ; Tue, 10 Aug 2021 00:36:24 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id E687061004 for ; Tue, 10 Aug 2021 00:36:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237093AbhHJAgn (ORCPT ); Mon, 9 Aug 2021 20:36:43 -0400 Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]:20525 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233500AbhHJAgm (ORCPT ); Mon, 9 Aug 2021 20:36:42 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1628555781; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=l5pGJKBgiJlcPrpWmMR12I4ayDVX2H02Rv8WzNW8h4U=; b=IEs8eNg4mFZmB/EIcHZOBF4UPFscR/25trh0kWHNE7QKJxvd7yXkqTbvKWsLDAhdCGrv9F pwsRIgW+vux7rBMjS0mEl+MxyaoURKb/OunS/RTwDhmd4bp5LsbF6g11tpF/UDwAe0QB5A syV4+TvSnyXAVxIUCKdKG+/lo6g3ERw= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-7-sIqRlJqJPZmyTHpIX9M3Lg-1; Mon, 09 Aug 2021 20:36:19 -0400 X-MC-Unique: sIqRlJqJPZmyTHpIX9M3Lg-1 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id C94EE802922; Tue, 10 Aug 2021 00:36:18 +0000 (UTC) Received: from agk-cloud1.hosts.prod.upshift.rdu2.redhat.com (agk-cloud1.hosts.prod.upshift.rdu2.redhat.com [10.0.13.154]) by smtp.corp.redhat.com (Postfix) with ESMTP id 3E5F819D9B; Tue, 10 Aug 2021 00:36:08 +0000 (UTC) Received: by agk-cloud1.hosts.prod.upshift.rdu2.redhat.com (Postfix, from userid 3883) id BD08742C4190; Tue, 10 Aug 2021 01:36:08 +0100 (BST) Date: Tue, 10 Aug 2021 01:36:08 +0100 From: Alasdair G Kergon To: Christoph Hellwig Cc: Jens Axboe , Mike Snitzer , linux-block@vger.kernel.org, dm-devel@redhat.com Subject: Re: [dm-devel] use regular gendisk registration in device mapper v2 Message-ID: <20210810003608.GB101579@agk-cloud1.hosts.prod.upshift.rdu2.redhat.com> Mail-Followup-To: Christoph Hellwig , Jens Axboe , Mike Snitzer , linux-block@vger.kernel.org, dm-devel@redhat.com References: <20210804094147.459763-1-hch@lst.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210804094147.459763-1-hch@lst.de> Organization: Red Hat UK Ltd. Registered in England and Wales, number 03798903. Registered Office: Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SL4 1TE. User-Agent: Mutt/1.5.21 (2010-09-15) X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 Precedence: bulk List-ID: X-Mailing-List: linux-block@vger.kernel.org On Wed, Aug 04, 2021 at 11:41:39AM +0200, Christoph Hellwig wrote: > allows device mapper to use the normal scheme > of calling add_disk when it is ready to accept I/O. For clarity, even after this patchset, the device is not ready to accept I/O when add_disk is called. It is ready to accept I/O later if a 'resume' happens triggering the 'change' uevent that userspace reacts to by setting up the /dev entries for it. Alasdair From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 86333C4338F for ; Tue, 10 Aug 2021 00:41:24 +0000 (UTC) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 2644B60C51 for ; Tue, 10 Aug 2021 00:41:24 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 2644B60C51 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: mail.kernel.org; spf=tempfail smtp.mailfrom=redhat.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1628556083; 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=LRYIaCyKW3F3HWRTAHBdG1aIeXOyXDLuoUR4J+daKwo=; b=PEZKd4kuZw4elkCnXFyoxYpNelb8Ie/FTmAihjB+snP1+WH+AQKdo9GIISzxtjYPAD5CoX 5TRS45DSmFTa3j/QzW+txdHVcwKm+OHH/q+N+CwKRmRxa4mTNiN6Dc8mEPYOeYNwQK+LGW H4za7wbAS2OQWGv6zJStgEm6EEvHGt8= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-125-6MJ2mjOmNaKmvqp8eKFCHA-1; Mon, 09 Aug 2021 20:41:21 -0400 X-MC-Unique: 6MJ2mjOmNaKmvqp8eKFCHA-1 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id F017D801AC0; Tue, 10 Aug 2021 00:41:15 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 30E64620DE; Tue, 10 Aug 2021 00:41:15 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id 4C7564BB7C; Tue, 10 Aug 2021 00:41:13 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 17A0aI6v006092 for ; Mon, 9 Aug 2021 20:36:18 -0400 Received: by smtp.corp.redhat.com (Postfix) id C724D19D9D; Tue, 10 Aug 2021 00:36:18 +0000 (UTC) Received: from agk-cloud1.hosts.prod.upshift.rdu2.redhat.com (agk-cloud1.hosts.prod.upshift.rdu2.redhat.com [10.0.13.154]) by smtp.corp.redhat.com (Postfix) with ESMTP id 3E5F819D9B; Tue, 10 Aug 2021 00:36:08 +0000 (UTC) Received: by agk-cloud1.hosts.prod.upshift.rdu2.redhat.com (Postfix, from userid 3883) id BD08742C4190; Tue, 10 Aug 2021 01:36:08 +0100 (BST) Date: Tue, 10 Aug 2021 01:36:08 +0100 From: Alasdair G Kergon To: Christoph Hellwig Message-ID: <20210810003608.GB101579@agk-cloud1.hosts.prod.upshift.rdu2.redhat.com> Mail-Followup-To: Christoph Hellwig , Jens Axboe , Mike Snitzer , linux-block@vger.kernel.org, dm-devel@redhat.com References: <20210804094147.459763-1-hch@lst.de> MIME-Version: 1.0 In-Reply-To: <20210804094147.459763-1-hch@lst.de> Organization: Red Hat UK Ltd. Registered in England and Wales, number 03798903. Registered Office: Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SL4 1TE. User-Agent: Mutt/1.5.21 (2010-09-15) X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 X-loop: dm-devel@redhat.com Cc: Jens Axboe , linux-block@vger.kernel.org, dm-devel@redhat.com, Mike Snitzer Subject: Re: [dm-devel] use regular gendisk registration in device mapper v2 X-BeenThere: dm-devel@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: device-mapper development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dm-devel-bounces@redhat.com Errors-To: dm-devel-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=dm-devel-bounces@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Disposition: inline Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit On Wed, Aug 04, 2021 at 11:41:39AM +0200, Christoph Hellwig wrote: > allows device mapper to use the normal scheme > of calling add_disk when it is ready to accept I/O. For clarity, even after this patchset, the device is not ready to accept I/O when add_disk is called. It is ready to accept I/O later if a 'resume' happens triggering the 'change' uevent that userspace reacts to by setting up the /dev entries for it. Alasdair -- dm-devel mailing list dm-devel@redhat.com https://listman.redhat.com/mailman/listinfo/dm-devel