Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp426888imm; Thu, 16 Aug 2018 23:55:30 -0700 (PDT) X-Google-Smtp-Source: AA+uWPxU/jdgAZGUXFo/hsr1ZjqWpvqu61ipm2B5h0KRexm1ZdWHJQ/gPZ7KFl2E86SXn6N6QuYR X-Received: by 2002:a63:7a45:: with SMTP id j5-v6mr906269pgn.363.1534488930786; Thu, 16 Aug 2018 23:55:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1534488930; cv=none; d=google.com; s=arc-20160816; b=B1gmOvrmYOt061VciB7K+2Pp7mxyAFqUbNZrMnGD1/4uTR3jax0aX+S511Ns4lK7K2 pel0IRDQwFBbTsiNmWenSvSEkH2tgOSfiW64CoGnKYe1vSLfvmbDnJsyx375yJbQrD4b cVQH8Z/VD6bnNuzBB9FUy+5FPbtBBzKdukRHV7qu8ZoI/PMp7a9Q69PThPxkyal+KYWW Ru4gze2sLpg+9yTPo1CXA1uqJwm36+Wpco3EA1KCTqldUESZtQ6C9pniIsIvrtHhI5sV MYIhKciyQztH0x5copBxKigMHnEVaY9eAHDub3AFAt/mpFpdwn6g/LtOGCzXwhIYjTTl oP7g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=YhxsnLS4OYgoVm+Dul2WhdP1TRFCG/W+DlS63CJq/bM=; b=hIyoZGmXFNtAhejdUzFBUrQDKHD3awH/uctE3O+Yk5Rg2Fm/OE6QOepkyTd6itETBX RDYEtnZRlgsGYwIOOYnVSRLmgjLstIxXuMUtXW/pK/ycK1osw7jk0pQCLZKqv0vNLq4+ USqg2jMMpU89Idbu6s1KKkMHVEH52dG/sZaWhFXVb0VEY90R7qPKzjDnaNmFOv13/79D nMuIqQuV7C8KIYaB1opkHyV7/wFF7vi2UNYsdHpF/c460nA1r5rF8FX6j9DW7XaZsNdx bEk2qxrL+D2mBNLRbCM3GGUNjTTR3Qd50rBZg5ZOaDJzqlekN+O+Z6jONaell6KBjJx4 c09Q== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m6-v6si1534774pls.439.2018.08.16.23.55.15; Thu, 16 Aug 2018 23:55:30 -0700 (PDT) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726487AbeHQJ4Z (ORCPT + 99 others); Fri, 17 Aug 2018 05:56:25 -0400 Received: from verein.lst.de ([213.95.11.211]:34058 "EHLO newverein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726226AbeHQJ4Y (ORCPT ); Fri, 17 Aug 2018 05:56:24 -0400 Received: by newverein.lst.de (Postfix, from userid 2407) id 26A2E70573; Fri, 17 Aug 2018 08:55:14 +0200 (CEST) Date: Fri, 17 Aug 2018 08:55:14 +0200 From: Christoph Hellwig To: Hannes Reinecke Cc: Jens Axboe , Christoph Hellwig , Sagi Grimberg , Keith Busch , Bart van Assche , linux-nvme@lists.infradead.org, linux-block@vger.kernel.org, Linux Kernel Mailinglist , Hannes Reinecke Subject: Re: [PATCH 2/5] nvme: register ns_id attributes as default sysfs groups Message-ID: <20180817065514.GC11170@lst.de> References: <20180814073305.87255-1-hare@suse.de> <20180814073305.87255-3-hare@suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180814073305.87255-3-hare@suse.de> User-Agent: Mutt/1.5.17 (2007-11-01) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Aug 14, 2018 at 09:33:02AM +0200, Hannes Reinecke wrote: > We should be registering the ns_id attribute as default sysfs > attribute groups, otherwise we have a race condition between > the uevent and the attributes appearing in sysfs. > > Signed-off-by: Hannes Reinecke > Reviewed-by: Christoph Hellwig I only reviewed the original patch without the lightnvm additions. Please drop reviewed-by tags if you make non-trivial changes. In this case I also wonder if you should have just kept the original patch as-is and added a new one for lightnvm.