Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp279439ybl; Tue, 7 Jan 2020 19:16:53 -0800 (PST) X-Google-Smtp-Source: APXvYqwIA1a1OdRzsNOJQT/hACZ7aH5fqML3bxfljNYFjzev2c06+aOhLVqe2LPjBEP5DYx5+lBP X-Received: by 2002:a9d:7552:: with SMTP id b18mr2535567otl.20.1578453413521; Tue, 07 Jan 2020 19:16:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1578453413; cv=none; d=google.com; s=arc-20160816; b=K0CKKZCO1dKr5GtKUzu4Az4W5cKeJQ/SlmnUmHAS0U8nIIbnHYww9+SZ5h7L0Xna8L OWupApUbXre4lQs5sfiQqeYH7f1B3zvnARGRxQqm+GXPBDpBHGr69bBcNYlm9JDBDiGe oVJDYqRXxTs9bo3+eVuV42xxTRniHv+A3yc3nd5Qk7fWDEbCVKqikhel+ZnzXQ62jPdw /VZkpRqc4alG/rKb0DuGXTC7g+eQ3gqV0YIgiWQKQXDcgyUxyofnxIaH/DPVvmwinxyC o9EhDjg/RkKwpt10JFJ0aVfNIfiTHf8H9QsdARevQ4hMEH27iGdGybo6id1OHLfjtdP2 st5Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:message-id :in-reply-to:date:references:organization:from:subject:cc:to :dkim-signature; bh=fWjv7W6k2+dbFZ/7a6f3esspeWDYpJX7nXT009RTOvI=; b=VbF4S20IP3iTtViNzTqFA3jBwu9ItyC0ghaIkXtT/acmCbBLeHr0d4crFLpbCVqkz/ x+oDsuhGNffS83wIoW+7Je08/+2p/gCCycpaZ/pQY+CHwihq9qys6KcjjXFmIH2z2aZV HdpB0mq4JJAl31EeIyURV29heUTVlOvd4cyqME/pmQ7z3JuSKAF13d1QmN19Cl3vbxZA dnFpj83rYrtFlnGTog6qxY3px/k5iUubM81APdzmaNPwAxXrPzQY4+4zgXAk++SqHvHv C5zLAkcHAjSNRgrkpjUgDQF3zoo3eSp/vbvWO3ky62oOq7P00keNwkfaMEkIHXKcMQ2G RxMg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2019-08-05 header.b=G53Qfp10; 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=NONE sp=NONE dis=NONE) header.from=oracle.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m4si967645otn.281.2020.01.07.19.16.41; Tue, 07 Jan 2020 19:16:53 -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=@oracle.com header.s=corp-2019-08-05 header.b=G53Qfp10; 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=NONE sp=NONE dis=NONE) header.from=oracle.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726637AbgAHDPw (ORCPT + 99 others); Tue, 7 Jan 2020 22:15:52 -0500 Received: from userp2120.oracle.com ([156.151.31.85]:33328 "EHLO userp2120.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725908AbgAHDPv (ORCPT ); Tue, 7 Jan 2020 22:15:51 -0500 Received: from pps.filterd (userp2120.oracle.com [127.0.0.1]) by userp2120.oracle.com (8.16.0.27/8.16.0.27) with SMTP id 0083E1FP187934; Wed, 8 Jan 2020 03:15:40 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=to : cc : subject : from : references : date : in-reply-to : message-id : mime-version : content-type; s=corp-2019-08-05; bh=fWjv7W6k2+dbFZ/7a6f3esspeWDYpJX7nXT009RTOvI=; b=G53Qfp10vGM8/bgVs2w0ED7QJQc/yKQNPcSKtEXsNlpy8AG9Ax+eAgYg9vpQNixMwfKa MWHahQhTmqfq9MYF0lZwf5nLFvUglvGEmL/xzuTgTx09dE+DGOUo9ubZ5WGgom0IRfbs S/W0tjYn9zx8GnfTUsY3uU8Rr83YGVqlGd5fDBJSJVCk4lMSmja7lGMiTO83hb2bmbb5 ad1DEEwJsnLyteEcX5UtOUUfT0I9GQoQdpqWu6AvEyHRy0rH3+rBODK8bt+WqomGDia2 5bZ21rRy0VMb5Igc2OZd7Jzr/BaaPdGpPYnjcgAoET1YGvBVD4+fP9aK1Cgy26cmPjMC Ag== Received: from userp3030.oracle.com (userp3030.oracle.com [156.151.31.80]) by userp2120.oracle.com with ESMTP id 2xakbqs72p-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 08 Jan 2020 03:15:39 +0000 Received: from pps.filterd (userp3030.oracle.com [127.0.0.1]) by userp3030.oracle.com (8.16.0.27/8.16.0.27) with SMTP id 0083DYEn143964; Wed, 8 Jan 2020 03:15:39 GMT Received: from aserv0121.oracle.com (aserv0121.oracle.com [141.146.126.235]) by userp3030.oracle.com with ESMTP id 2xcjvek8j5-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 08 Jan 2020 03:15:39 +0000 Received: from abhmp0012.oracle.com (abhmp0012.oracle.com [141.146.116.18]) by aserv0121.oracle.com (8.14.4/8.13.8) with ESMTP id 0083FbOr022903; Wed, 8 Jan 2020 03:15:37 GMT Received: from ca-mkp.ca.oracle.com (/10.159.214.123) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Tue, 07 Jan 2020 19:15:37 -0800 To: "Singh\, Balbir" Cc: "martin.petersen\@oracle.com" , "linux-kernel\@vger.kernel.org" , "linux-block\@vger.kernel.org" , "Sangaraju\, Someswarudu" , "jejb\@linux.ibm.com" , "hch\@lst.de" , "axboe\@kernel.dk" , "mst\@redhat.com" , "linux-nvme\@lists.infradead.org" , "Chaitanya.Kulkarni\@wdc.com" Subject: Re: [resend v1 1/5] block/genhd: Notify udev about capacity change From: "Martin K. Petersen" Organization: Oracle Corporation References: <20200102075315.22652-1-sblbir@amazon.com> <20200102075315.22652-2-sblbir@amazon.com> Date: Tue, 07 Jan 2020 22:15:34 -0500 In-Reply-To: (Balbir Singh's message of "Tue, 7 Jan 2020 22:30:30 +0000") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1.92 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9493 signatures=668685 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=774 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1911140001 definitions=main-2001080026 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9493 signatures=668685 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=835 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1911140001 definitions=main-2001080026 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Balbir, > I did this to avoid having to enforce that set_capacity() implied a > notification. Largely to control the impact of the change by default. What I thought. I'm OK with set_capacity_and_notify(), btw. -- Martin K. Petersen Oracle Linux Engineering