From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S935313AbdIYMwP (ORCPT ); Mon, 25 Sep 2017 08:52:15 -0400 Received: from verein.lst.de ([213.95.11.211]:50124 "EHLO newverein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933681AbdIYMwN (ORCPT ); Mon, 25 Sep 2017 08:52:13 -0400 Date: Mon, 25 Sep 2017 14:52:11 +0200 From: Christoph Hellwig To: Hannes Reinecke Cc: Sagi Grimberg , Johannes Thumshirn , Christoph Hellwig , Keith Busch , Linux NVMe Mailinglist , Linux Kernel Mailinglist Subject: Re: [PATCH] nvme: make controller 'state' sysfs attribute pollable Message-ID: <20170925125211.GD8130@lst.de> References: <20170920104032.14014-1-jthumshirn@suse.de> <20170920145931.GA5208@lst.de> <20170921051915.cfj2j5vu4bjqn5za@linux-x5ow.site> <83264609-d5f9-8990-d79e-0b6eed1b2471@grimberg.me> <31e90477-59fc-8f70-d482-50c25393f58f@suse.de> <6d9304e2-f943-f063-1298-c6a2d582f78f@grimberg.me> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.17 (2007-11-01) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Sep 25, 2017 at 10:23:16AM +0200, Hannes Reinecke wrote: > > We could have such an interface I assume. But it would suck to maintain > > yet another state (we are already having enough trouble to have a > > coherent controller state machine). > > Weell ... we could be using a notifier chain for that. > I think I should post my patchset. The point is: if you want proper multipath behavior use the nvme in-kernel multipath code. If you want to weird crap in userspace don't expect any help from the kernel driver.