From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Mon, 28 May 2018 17:24:32 +0200 From: Christoph Hellwig To: Hannes Reinecke Cc: Christoph Hellwig , Jens Axboe , Keith Busch , Bart Van Assche , Ming Lei , Josef Bacik , Tejun Heo , Lee Duncan , Chris Leech , Rafael David Tinoco , linux-block@vger.kernel.org, linux-scsi@vger.kernel.org Subject: Re: [PATCH 03/14] nvme: return BLK_EH_DONE from ->timeout Message-ID: <20180528152432.GA18796@lst.de> References: <20180523121941.8632-1-hch@lst.de> <20180523121941.8632-4-hch@lst.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: List-ID: On Wed, May 23, 2018 at 03:27:35PM +0200, Hannes Reinecke wrote: > Is there a way of _testing_ this patch? Use the error injection framework Johannes wrote? Use blktests (but make sure you have a fixed version of test 011). > It looks pretty dodgy, just replacing BLK_EH_HANDLED with > BLK_EH_NOT_HANDLED. > And, as nothing else has changed, would imply that we can do it on > older/stable versions, too. > Which means that the original code was buggy to start with. > Hence a test here would be really beneficial. NVMe always completed the requests itself, so not too much changed.