From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christoph Hellwig Subject: Re: [PATCH 08/14] scsi: convert device_busy to atomic_t Date: Thu, 10 Jul 2014 08:01:55 +0200 Message-ID: <20140710060155.GA7675@lst.de> References: <1403715121-1201-1-git-send-email-hch@lst.de> <1403715121-1201-9-git-send-email-hch@lst.de> <1404924596.2006.6.camel@jarvis.lan> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <1404924596.2006.6.camel@jarvis.lan> Sender: linux-kernel-owner@vger.kernel.org To: James Bottomley Cc: Christoph Hellwig , Jens Axboe , Bart Van Assche , Robert Elliott , linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org List-Id: linux-scsi@vger.kernel.org On Wed, Jul 09, 2014 at 09:49:56AM -0700, James Bottomley wrote: > As far as I can tell from the block MQ, we get one CPU thread per LUN. No, that's entirely incorrect. IFF a device supports multiple hardware queues we only submit I/O from CPUs (there might be more than one) this queue is bound to. With the single hardware queue supported by most hardware submissions can and will happen from any CPU. Note that this patchset doesn't even support multiple hardware queues yet, although it should be fairly simple to add once the low level driver support is ready.