Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753939AbdHXOWy (ORCPT ); Thu, 24 Aug 2017 10:22:54 -0400 Received: from mail-it0-f47.google.com ([209.85.214.47]:36252 "EHLO mail-it0-f47.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753146AbdHXOWs (ORCPT ); Thu, 24 Aug 2017 10:22:48 -0400 Subject: Re: [PATCH v2 0/1] bsg: fix regression resulting in panics when sending commands via BSG To: Benjamin Block Cc: "Martin K . Petersen" , linux-block@vger.kernel.org, linux-kernel@vger.kernel.org, linux-scsi@vger.kernel.org, Johannes Thumshirn , Christoph Hellwig , Steffen Maier References: From: Jens Axboe Message-ID: Date: Thu, 24 Aug 2017 08:22:45 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1018 Lines: 27 On 08/23/2017 05:57 PM, Benjamin Block wrote: > Hello all, > > This is the second try for fixing the regression in the BSG-interface that > exists since v4.11 (for more infos see the first series). > > I separated my other changes from the bug-fix so that it is easier to apply > if judged good. I will rebase my cleanups I sent in v1 and send them when I > get a bit more time. But the regression-fix is more important, so here's > that. > > I did some more tests on it than on v1, including some heavy parallel I/O > on the same blk-queue using both BSG and the normal SCSI-stack at the same > time (throwing some intentional bad commands in it too). That seemed to > work all well enough - i.e. it didn't crash and got the expected results. I > haven't done any external error-inject, but IMO that would be beyond the > scope right now. > > The fix is based on Christoph's idea, I discussed this with him off-list > already. > > I rebased the series on Jens' for-next. Added for 4.13, thanks. -- Jens Axboe