From owner-svn-src-projects@freebsd.org Thu Sep 17 14:16:52 2015 Return-Path: Delivered-To: svn-src-projects@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 244499CE422 for ; Thu, 17 Sep 2015 14:16:52 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-qk0-f178.google.com (mail-qk0-f178.google.com [209.85.220.178]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id DB7E013AF for ; Thu, 17 Sep 2015 14:16:51 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by qkdw123 with SMTP id w123so6922850qkd.0 for ; Thu, 17 Sep 2015 07:16:45 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=/JAYT9ls2uaudmczLLggSj9xTlXJM/bJQnCBPyXUPew=; b=Vg4qeatkfcNnlrKvVox+inRzAnsaPnwnXRRghOP0oUUD/pl6F7V8Bgs0/xmPIUjB1v MNgMQeAE03ZL6vc3FLcmgf4DUuStiFsNCRZ4IwQkLrlR1BwAfo/GD1hI99xDPFVYfdDS 4nzEK8ctvIT3ECIyfNy4zSrZJlAoPqz/BvwD0UhhjZSZ/j5BrMNj1xNQYquRs49HUPC5 2zCp/quAi+MLpWYHbjQ+EFEP/F04paity9xec/Nd38kjrjGCsn6fY3ReejNI81k2r5JU CMw9ZpIWFlYCcYUT8IOwyr2LNPbrmdlOFTmob96T9agJhHTzPXPlFbIBnlH9S4Ao38Y3 spKw== X-Gm-Message-State: ALoCoQlFiCjeg9tYgVTujkQFxZMGiYJ4Kytl/kCwRf0ARydc4GcQAldfF3aA2JWj+pUmepAXtBHF MIME-Version: 1.0 X-Received: by 10.55.204.208 with SMTP id n77mr51440648qkl.46.1442499405238; Thu, 17 Sep 2015 07:16:45 -0700 (PDT) Sender: wlosh@bsdimp.com Received: by 10.140.80.167 with HTTP; Thu, 17 Sep 2015 07:16:45 -0700 (PDT) X-Originating-IP: [50.253.99.174] In-Reply-To: <55FAB5DD.20609@fastmail.net> References: <201509162215.t8GMFp1b023705@repo.freebsd.org> <55FAB5DD.20609@fastmail.net> Date: Thu, 17 Sep 2015 08:16:45 -0600 X-Google-Sender-Auth: fak1N-DTtoKE3x-yKKB5gUyWgz8 Message-ID: Subject: Re: svn commit: r287876 - in projects/iosched/sys/cam: . ata scsi From: Warner Losh To: Bruce Simpson Cc: Warner Losh , src-committers , svn-src-projects@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: svn-src-projects@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "SVN commit messages for the src " projects" tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Sep 2015 14:16:52 -0000 This isn't even in -current yet, but this will work in 10.x. It's dependent, at the moment, on the I/O scheduler work I've done in this project branch. There's nothing intrinsic about that. I'm not sure I understand your comment about Linux or the self-booting stuff. The new firmware for the M500's that has working NCQ trim has existed for less than a week... Warner On Thu, Sep 17, 2015 at 6:45 AM, Bruce Simpson wrote: > Warner, > > Is it going to be possible to MFC the NCQ trim fixes, or is this dependent > on post 10.x work? > > It took a longgggg time for Linux to catch up with Crucial's firmware > patch. [1] > > cheers > Bruce > > [1] Which, by the way, is an excellent example of vendors doing the right > thing for a change, as the patch was delivered as a Linux-based > self-booting image (ISO/USB/etc). > > On 16/09/15 23:15, Warner Losh wrote: > >> Log: >> Commit the post-BSDcan level (and a little more) iosched work. >> > ... > > + /* >> + * Crucial Mxxx SSDs >> + * NCQ Trim doesn't work, but only on MU01 firmware >> + */ >> + { T_DIRECT, SIP_MEDIA_FIXED, "*", "Crucial CT*M550*", >> "MU01" }, >> + /*quirks*/ADA_Q_NCQ_TRIM_BROKEN >> + }, >> > > >