From owner-freebsd-current@freebsd.org Fri Apr 15 13:14:55 2016 Return-Path: Delivered-To: freebsd-current@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 C190BAEC7A9 for ; Fri, 15 Apr 2016 13:14:55 +0000 (UTC) (envelope-from tommi.pernila@gmail.com) Received: from mail-lf0-x22f.google.com (mail-lf0-x22f.google.com [IPv6:2a00:1450:4010:c07::22f]) (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 33C011B3D for ; Fri, 15 Apr 2016 13:14:55 +0000 (UTC) (envelope-from tommi.pernila@gmail.com) Received: by mail-lf0-x22f.google.com with SMTP id c126so144947908lfb.2 for ; Fri, 15 Apr 2016 06:14:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc; bh=OIvSSW4MDO9MyEf3L7w6zpSims8Tdh46ZURdjBANgLw=; b=t3SDp56diBBXopCJNmhiUY4NTTanuua3WZ5Q/KHXV7WZdJOR8SifrDWegnM48b98L/ KpRzzvx/6S8+bWDLmhur3wf1dbEsAhLK/vzzug1i6GtLdsHvYpeMOmUojDWcJO9DTGU2 DzwOC8cVQV44VcRvnGl+6t3L8ewyTqG1xeewKCtlC+JJ/SE8OYUW5JeMD47JgcGdMLmt 8jyqhPC1S8xj3qdOeQWjcQY3JrPgv4Dx+dc1oHKpA0MoMm5phJ1Hm7zqV8+bM4mQReWA GK5texttvQSlRFPOuwZEMitawDgYPVs/kfjeNPSDo9I9j++D80/KVFSHls+CwPRmbvIN +tAA== 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; bh=OIvSSW4MDO9MyEf3L7w6zpSims8Tdh46ZURdjBANgLw=; b=bFgroewKyLUscZV/MG2fvXpxLn08pogvACtAQ3tyFgPbGzEx1H1YcWjxLfjmo+VrJZ If27mjDnngHDDTUnBxada0SFowWJujMrh3DEAnyPF/rnpRU1OzLlu49YmI2tsHodjR2m s8TTGDkSORgh+N+fzlP5FRH8A7u1kwUmj3xhCdQ09CReNKg7vkCg8tOBLDFaWWMdr7jr UtjuvVxmx3fwMeLvjWIIQ3SdfUbr9nqQbziQEKZebK1CMnmIDHubWW+BvfgvK6G7cawu rLByE76VHyPVTbhijgQ1Sw1+d/ns0B5EV6EsorAjFzyh+JWWzABD9kQdBssW4+rNlYdX Qu5g== X-Gm-Message-State: AOPr4FWM50Sb+RGgkyix+jeKrCSy0vudjFc1aQ+alqpEaEJtD+wxYCX7gkh0UBjF7xPesENFh6aszJoudi41TA== MIME-Version: 1.0 X-Received: by 10.25.209.200 with SMTP id i191mr7613947lfg.31.1460726093293; Fri, 15 Apr 2016 06:14:53 -0700 (PDT) Sender: tommi.pernila@gmail.com Received: by 10.112.91.131 with HTTP; Fri, 15 Apr 2016 06:14:53 -0700 (PDT) In-Reply-To: <5710CE6F.6010408@multiplay.co.uk> References: <57109CB7.3020204@FreeBSD.org> <20160415081130.GH2282@home.opsec.eu> <5710CE6F.6010408@multiplay.co.uk> Date: Fri, 15 Apr 2016 16:14:53 +0300 X-Google-Sender-Auth: fq3op2EXBhaKvB0Yh9WA-No3KrQ Message-ID: Subject: Re: Samsung SSD TRIM [Was: Heads up] From: Tommi Pernila To: Steven Hartland Cc: "freebsd-current@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.21 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Apr 2016 13:14:55 -0000 Hi, On Friday, 15 April 2016, Steven Hartland wrote: > On 15/04/2016 09:11, Kurt Jaeger wrote: > >> Hi! >> >> avg wrote: >> >>> For what it's worth, I have been using the following SSDs since >>> September of 2015 : >>> >>> ada2: ACS-2 ATA SATA 3.x device >>> ada3: ACS-2 ATA SATA 3.x device >>> >> I have one in use with zfs and trim: >> >> ada1: ACS-2 ATA SATA 3.x device >> >> Works as my ports build hosts, and is fine as far as I can see. >> >> Prior to Warners commit there was no NCQ TRIM support in FreeBSD, so > while it was working with standard non-NCQ TRIM (and I can corroborate that > as we use the 840's and 850's all over with ZFS with TRIM enabled) its > possible that it could cause issues when NCQ TRIM comes into play. > > From what I read when this issue first came to light, I believe the actual > issue was a Linux kernel bug not a FW bug in Samsung drives that caused the > corruption. This is the thread which details said issue: > http://www.spinics.net/lists/raid/msg49440.html > > Here is a link to the commit that fixed the Linux kernel bug. https://git. kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=f3f5da624e0a891c34d8cd513c57f1d9b0c7dadc Mounting a Samsung SSD with a linux kernel with trim enabled without this commit can cause issues. Br, Tommi > Regards > Steve > _______________________________________________ > freebsd-current@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" >