From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out2-smtp.messagingengine.com ([66.111.4.26]:52547 "EHLO out2-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750816AbcKQHLe (ORCPT ); Thu, 17 Nov 2016 02:11:34 -0500 Date: Thu, 17 Nov 2016 08:11:45 +0100 From: Greg KH To: Andrey Grodzovsky Cc: stable@vger.kernel.org, Sreekanth Reddy , Hannes Reinecke , PDL-MPT-FUSIONLINUX , "Martin K. Petersen" Subject: Re: [PATCH] [SCSI] mpt2sas: Fix secure erase premature termination Message-ID: <20161117071145.GA14526@kroah.com> References: <1479345308-27261-1-git-send-email-andrey2805@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1479345308-27261-1-git-send-email-andrey2805@gmail.com> Sender: stable-owner@vger.kernel.org List-ID: On Wed, Nov 16, 2016 at 08:15:08PM -0500, Andrey Grodzovsky wrote: > Problem: > This is a work around for a bug with LSI Fusion MPT SAS2 when > pefroming secure erase. Due to the very long time the operation > takes commands issued during the erase will time out and will trigger > execution of abort hook. Even though the abort hook is called for > the specific command which timed out this leads to entire device halt > (scsi_state terminated) and premature termination of the secured erase. > > Fix: > Set device state to busy while erase in progress to reject any incoming > commands until the erase is done. The device is blocked any way during > this time and cannot execute any other command. > More data and logs can be found here - > https://drive.google.com/file/d/0B9ocOHYHbbS1Q3VMdkkzeWFkTjg/view > > P.S > This is a backport from the same fix for mpt3sas driver intended > for pre-4.4 stable trees. What is "the same fix"? What is the git commit id in Linus's tree for this? thanks, greg k-h