Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp590718ybl; Fri, 13 Dec 2019 01:14:48 -0800 (PST) X-Google-Smtp-Source: APXvYqwypIfNuWRoi27zRiLCX9dtDBtKgLV0W+qtW4UfaGnB8fQTqXKzNZ1M9G7Pb33Szvlcdd3S X-Received: by 2002:a05:6830:87:: with SMTP id a7mr13175933oto.314.1576228488794; Fri, 13 Dec 2019 01:14:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576228488; cv=none; d=google.com; s=arc-20160816; b=YPg7k2EouA7AT5z/SSOCCncMqXqgezzLgOW31RWx04y+BGinFz2uX4brviKwYDviZP CyjW/s9gd8BFPs42zQL8yfppipTH3Qe2xbpBZWB0zs+l+sC9F397LVMtV78f+AsPY8vA 801cuc6KneMMuo9srkF8r6XLYxhan5m4gQw7ZszzdiQ0EP20H2Peg15kmnm3NUvAxW+Z zcEjCDDR2t79E2qgEzs2HLu8TjVSpaLJp5JGjTyH4R9xaCtEtX+DOhGcIUTUovHNsVFi W5EC22POjv6+uboAggR51eXe1Dv2NheaACLsTrxo6TEeKv4IVyEJYfMqQasaO/Oha7+y NmkA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-id:content-language:accept-language:in-reply-to:references :message-id:date:thread-index:thread-topic:subject:cc:to:from :ironport-sdr:dkim-signature; bh=CBG1FDANtU5OZr3itkCR/uZ0kGzF/Rp81mdKwZKZTmw=; b=e1mdGErOJanl9Q4zaWMEL8euLLU7H51/3jTjGSIZSQYsyMhsrw+2NunAjCn4svoQNo p+e3vAv+SZJuGG4TBfVrWGFwy71Jir1G1mNPBzxl5HNCrkuDqLYv0AQKTqPD+Glik0Dx A0Vyn8ZAGoSK5uDzbWW+QZZQQhRmYN6l/+/aIo9wDBI8mHkQuCoobj/BcM8dL0jkywzb Gao82KJ5NNxt2MPwXh0rn9g2yuQQioetb76O80+MsrcC2r9Q+drvJJlYW3hUohEpCdkI qIhUnEtN3Ph9Ne8Bv9bpkDyCNTS2naeC/qcPKxgibsjv5WSMk/0kV+Sppex3Gy/3pfX9 otbA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amazon.com header.s=amazon201209 header.b=NS6Anzv2; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amazon.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e15si4872060otp.161.2019.12.13.01.14.36; Fri, 13 Dec 2019 01:14:48 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@amazon.com header.s=amazon201209 header.b=NS6Anzv2; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amazon.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726683AbfLMJN2 (ORCPT + 99 others); Fri, 13 Dec 2019 04:13:28 -0500 Received: from smtp-fw-9102.amazon.com ([207.171.184.29]:46536 "EHLO smtp-fw-9102.amazon.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725945AbfLMJN1 (ORCPT ); Fri, 13 Dec 2019 04:13:27 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amazon.com; i=@amazon.com; q=dns/txt; s=amazon201209; t=1576228406; x=1607764406; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-id:content-transfer-encoding: mime-version; bh=CBG1FDANtU5OZr3itkCR/uZ0kGzF/Rp81mdKwZKZTmw=; b=NS6Anzv2chFhdGEz7LHsKDZeWd72YiVKmNEojWbgpdtPAcsaNda0ORmq +T5hO4gZUocOKGI2Wuy868vl6KjmYXn6AO1VdXNGMlF3uxtBB/ekMqOJG tRofJEkXwviKzUkIwXXDvQC2oy+oIkvW3forIjO2pLrFSt6OaO0xh5KJG E=; IronPort-SDR: R4EWnN0LcLv3X8VjF98eHYXSiwobj13NuJFtg1jfSe3jZQPRiaEXcXvdv2mR/rTU60u/8H6D4+ oZHClg/pP4ww== X-IronPort-AV: E=Sophos;i="5.69,309,1571702400"; d="scan'208";a="13309466" Received: from sea32-co-svc-lb4-vlan3.sea.corp.amazon.com (HELO email-inbound-relay-2a-119b4f96.us-west-2.amazon.com) ([10.47.23.38]) by smtp-border-fw-out-9102.sea19.amazon.com with ESMTP; 13 Dec 2019 09:13:13 +0000 Received: from EX13MTAUWB001.ant.amazon.com (pdx4-ws-svc-p6-lb7-vlan2.pdx.amazon.com [10.170.41.162]) by email-inbound-relay-2a-119b4f96.us-west-2.amazon.com (Postfix) with ESMTPS id 216D91A1E8F; Fri, 13 Dec 2019 09:13:11 +0000 (UTC) Received: from EX13D11UWB004.ant.amazon.com (10.43.161.90) by EX13MTAUWB001.ant.amazon.com (10.43.161.207) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Fri, 13 Dec 2019 09:13:11 +0000 Received: from EX13D01UWB002.ant.amazon.com (10.43.161.136) by EX13D11UWB004.ant.amazon.com (10.43.161.90) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Fri, 13 Dec 2019 09:13:11 +0000 Received: from EX13D01UWB002.ant.amazon.com ([10.43.161.136]) by EX13d01UWB002.ant.amazon.com ([10.43.161.136]) with mapi id 15.00.1367.000; Fri, 13 Dec 2019 09:13:11 +0000 From: "Singh, Balbir" To: "hch@lst.de" CC: "linux-kernel@vger.kernel.org" , "jejb@linux.ibm.com" , "linux-block@vger.kernel.org" , "mst@redhat.com" , "linux-nvme@lists.infradead.org" , "axboe@kernel.dk" , "Sangaraju, Someswarudu" Subject: Re: [RFC PATCH] block/genhd: Notify udev about capacity change Thread-Topic: [RFC PATCH] block/genhd: Notify udev about capacity change Thread-Index: AQHVrwYjh2l0GmmZOEmELsmopgOsAqe2RkCAgAGGxwA= Date: Fri, 13 Dec 2019 09:13:10 +0000 Message-ID: <8dee699c66a2c8532bd82515291d7fa86cab93f4.camel@amazon.com> References: <20191210030131.4198-1-sblbir@amazon.com> <20191212095431.GA3720@lst.de> In-Reply-To: <20191212095431.GA3720@lst.de> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-messagesentrepresentingtype: 1 x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [10.43.160.100] Content-Type: text/plain; charset="utf-8" Content-ID: <85A3E586BE61E449B1EB82A25A1F7677@amazon.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T24gVGh1LCAyMDE5LTEyLTEyIGF0IDEwOjU0ICswMTAwLCBDaHJpc3RvcGggSGVsbHdpZyB3cm90 ZToNCj4gT24gVHVlLCBEZWMgMTAsIDIwMTkgYXQgMDM6MDE6MzFBTSArMDAwMCwgQmFsYmlyIFNp bmdoIHdyb3RlOg0KPiA+IEFsbG93IGJsb2NrL2dlbmhkIHRvIG5vdGlmeSB1c2VyIHNwYWNlICh2 aWEgdWRldikgYWJvdXQgZGlzayBzaXplIGNoYW5nZXMNCj4gPiB1c2luZyBhIG5ldyBoZWxwZXIg ZGlza19zZXRfY2FwYWNpdHkoKSwgd2hpY2ggaXMgYSB3cmFwcGVyIG9uIHRvcA0KPiA+IG9mIHNl dF9jYXBhY2l0eSgpLiBkaXNrX3NldF9jYXBhY2l0eSgpIHdpbGwgb25seSBub3RpZnkgdmlhIHVk ZXYgaWYNCj4gPiB0aGUgY3VycmVudCBjYXBhY2l0eSBvciB0aGUgdGFyZ2V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