From owner-svn-src-head@FreeBSD.ORG Wed Sep 10 21:24:16 2014 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 23CF9D5D; Wed, 10 Sep 2014 21:24:16 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 0FB10E75; Wed, 10 Sep 2014 21:24:16 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id s8ALOFa4078707; Wed, 10 Sep 2014 21:24:15 GMT (envelope-from mav@FreeBSD.org) Received: (from mav@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id s8ALOFLd078706; Wed, 10 Sep 2014 21:24:15 GMT (envelope-from mav@FreeBSD.org) Message-Id: <201409102124.s8ALOFLd078706@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: mav set sender to mav@FreeBSD.org using -f From: Alexander Motin Date: Wed, 10 Sep 2014 21:24:15 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r271407 - head/sys/cam/scsi X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Sep 2014 21:24:16 -0000 Author: mav Date: Wed Sep 10 21:24:15 2014 New Revision: 271407 URL: http://svnweb.freebsd.org/changeset/base/271407 Log: Extend UNMAP blacklist on all STEC SSD models. None of existing STEC devices need UNMAP or even support it well, having many limitations and even hanging sometimes executing those commands. New devices that may use UNMAP going to be released under HGST name. MFC after: 3 days Modified: head/sys/cam/scsi/scsi_da.c Modified: head/sys/cam/scsi/scsi_da.c ============================================================================== --- head/sys/cam/scsi/scsi_da.c Wed Sep 10 21:07:00 2014 (r271406) +++ head/sys/cam/scsi/scsi_da.c Wed Sep 10 21:24:15 2014 (r271407) @@ -354,9 +354,9 @@ static struct da_quirk_entry da_quirk_ta }, { /* - * The STEC 842 sometimes hang on UNMAP. + * The STEC SSDs sometimes hang on UNMAP. */ - {T_DIRECT, SIP_MEDIA_FIXED, "STEC", "S842E800M2", "*"}, + {T_DIRECT, SIP_MEDIA_FIXED, "STEC", "*", "*"}, /*quirks*/ DA_Q_NO_UNMAP }, /* USB mass storage devices supported by umass(4) */