From owner-freebsd-fs@FreeBSD.ORG Thu Aug 4 23:27:16 2011 Return-Path: Delivered-To: freebsd-fs@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5BF78106567F for ; Thu, 4 Aug 2011 23:27:16 +0000 (UTC) (envelope-from prvs=11971cf4bd=killing@multiplay.co.uk) Received: from mail1.multiplay.co.uk (mail1.multiplay.co.uk [85.236.96.23]) by mx1.freebsd.org (Postfix) with ESMTP id 7714F8FC0A for ; Thu, 4 Aug 2011 23:27:03 +0000 (UTC) X-MDAV-Processed: mail1.multiplay.co.uk, Fri, 05 Aug 2011 00:10:15 +0100 X-Spam-Processed: mail1.multiplay.co.uk, Fri, 05 Aug 2011 00:10:15 +0100 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on mail1.multiplay.co.uk X-Spam-Level: X-Spam-Status: No, score=-5.0 required=6.0 tests=USER_IN_WHITELIST shortcircuit=ham autolearn=disabled version=3.2.5 Received: from r2d2 ([188.220.16.49]) by mail1.multiplay.co.uk (mail1.multiplay.co.uk [85.236.96.23]) (MDaemon PRO v10.0.4) with ESMTP id md50014471718.msg for ; Fri, 05 Aug 2011 00:10:14 +0100 X-MDRemoteIP: 188.220.16.49 X-Return-Path: prvs=11971cf4bd=killing@multiplay.co.uk X-Envelope-From: killing@multiplay.co.uk X-MDaemon-Deliver-To: freebsd-fs@FreeBSD.ORG Message-ID: <2D117F9F212A4CCBA6B7F51E8705BDB7@multiplay.co.uk> From: "Steven Hartland" To: "Steven Hartland" , "Jeremy Chadwick" References: <13BEC27B17D24D0CBF2E6A98FD3227F3@multiplay.co.uk><20110728012437.GA23430@icarus.home.lan><20110728103234.GA33275@icarus.home.lan><20110728145917.GA37805@icarus.home.lan> <2A07CD8AE6AE49A5BAED59A7E547D1F9@multiplay.co.uk> Date: Fri, 5 Aug 2011 00:10:40 +0100 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=response Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.5931 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6109 Cc: freebsd-fs@FreeBSD.ORG Subject: Re: Questions about erasing an ssd to restore performance under FreeBSD X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Aug 2011 23:27:16 -0000 ----- Original Message ----- From: "Steven Hartland" >> Understood. I'm off work this week so I'll see if I can dedicate some >> time to it. Too many non-work projects I'm juggling right now, argh. >> >> I'll have to start with camcontrol since the test system I have uses >> ada(4) and not classic ata(4). I'm not even sure what I'm really in for >> given that I've never looked at camcontrol's code before. >> >> If I "brick" my SSD I'll send you a bill, Steven. Kidding. :-) We seem to be having this issue on more disks now so I thought I'd have a bash at it to see how far I could get. To my suprise I think I've pretty much got it all the ata security options added to camcontrol. The only outstanding issue seems to be cam / ata appears to have an overflow bug which limits timeouts to 2147 seconds or less which would likely cause issues for rotary disks. I've posted about this in a seperate thread "cam / ata timeout limited to 2147 due to overflow bug?" In the mean time would you be interested in reviewing the code Jeremy? Regards Steve ================================================ This e.mail is private and confidential between Multiplay (UK) Ltd. and the person or entity to whom it is addressed. In the event of misdirection, the recipient is prohibited from using, copying, printing or otherwise disseminating it or any information contained in it. In the event of misdirection, illegible or incomplete transmission please telephone +44 845 868 1337 or return the E.mail to postmaster@multiplay.co.uk.