From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1RDtkT-0000W6-0M for garchives@archives.gentoo.org; Wed, 12 Oct 2011 08:01:10 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 57D9421C08E; Wed, 12 Oct 2011 08:00:51 +0000 (UTC) Received: from postler.lichtfels.com (postler.lichtfels.com [78.46.92.195]) by pigeon.gentoo.org (Postfix) with ESMTP id 0F45821C029 for ; Wed, 12 Oct 2011 07:59:51 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by postler.lichtfels.com (Postfix) with ESMTP id 1AA6914B41; Wed, 12 Oct 2011 10:04:02 +0200 (CEST) Received: from postler.lichtfels.com ([127.0.0.1]) by localhost (postler.lichtfels.com [127.0.0.1]) (amavisd-maia, port 10024) with LMTP id 03542-03; Wed, 12 Oct 2011 10:04:01 +0200 (CEST) Received: from [172.32.99.26] (mail.oops.co.at [213.129.238.225]) by postler.lichtfels.com (Postfix) with ESMTPA id 0822114B40; Wed, 12 Oct 2011 10:04:00 +0200 (CEST) Message-ID: <4E9548F5.2010107@xunil.at> Date: Wed, 12 Oct 2011 09:59:49 +0200 From: "Stefan G. Weichinger" Organization: oops! User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:7.0.1) Gecko/20111003 Thunderbird/7.0.1 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 To: gentoo-user@lists.gentoo.org CC: Alan McKinnon Subject: Re: [gentoo-user] SSDs, ext4, fstrim, discard ... References: <4E94AD7F.7050405@xunil.at> <20111012000538.2ee0d7de@rohan.example.com> <4E94C2F3.6000607@xunil.at> <20111012011702.73eef020@rohan.example.com> In-Reply-To: <20111012011702.73eef020@rohan.example.com> X-Enigmail-Version: 1.4a1pre Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.2a X-Archives-Salt: X-Archives-Hash: 30971231b017746e5b545123178dacaf Am 2011-10-12 01:17, schrieb Alan McKinnon: > You asked the drive firmware for a favour - to please check if anything > can be discarded and if so to discard it. > > > > The firmware checked that it *could* discard X bytes and then figured > well, maybe it will, maybe it won't, maybe it'll do it on it's own > good time, but what the heck - tell the user anyway how many bytes X > is. Maybe that'll make the user happy so he'll stfu and go away...... > > The command leads you to believe the discard was actually done, but > that's not necessarily true :-) > > It's probably a case of the drive knows much better than you what it > should do. Ah, ok, Mafia implemented now ... ;-) Thanks, Stefan