From: "Martin K. Petersen" Subject: Re: [PATCH 8/9] scsi_dh: add a common helper to get a scsi_device from a request_queue Date: Fri, 01 May 2015 11:45:45 -0400 Message-ID: References: <1430415151-30948-1-git-send-email-hch@lst.de> <1430415151-30948-9-git-send-email-hch@lst.de> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from userp1040.oracle.com ([156.151.31.81]:33611 "EHLO userp1040.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754195AbbEAPr7 (ORCPT ); Fri, 1 May 2015 11:47:59 -0400 In-Reply-To: <1430415151-30948-9-git-send-email-hch@lst.de> (Christoph Hellwig's message of "Thu, 30 Apr 2015 19:32:30 +0200") Sender: linux-scsi-owner@vger.kernel.org List-Id: linux-scsi@vger.kernel.org To: Christoph Hellwig Cc: linux-scsi@vger.kernel.org, Hannes Reinecke , Mike Snitzer , Mike Christie , "Martin K. Petersen" >>>>> "Christoph" == Christoph Hellwig writes: Christoph> And cleanup the various messy opencoded versions of this. Christoph> Note that this moves the sdev_state checks outside the Christoph> queue_lock coverage, but as we don't hold the lock over the Christoph> activation they are only advisory anyway. Reviewed-by: Martin K. Petersen -- Martin K. Petersen Oracle Linux Engineering