Gentoo Archives: gentoo-user

From: "Stefan G. Weichinger" <lists@×××××.at>
To: gentoo-user@l.g.o
Cc: Alan McKinnon <alan.mckinnon@×××××.com>
Subject: Re: [gentoo-user] SSDs, ext4, fstrim, discard ...
Date: Wed, 12 Oct 2011 08:01:10
Message-Id: 4E9548F5.2010107@xunil.at
In Reply to: Re: [gentoo-user] SSDs, ext4, fstrim, discard ... by Alan McKinnon
1 Am 2011-10-12 01:17, schrieb Alan McKinnon:
2
3 > You asked the drive firmware for a favour - to please check if anything
4 > can be discarded and if so to discard it.
5 >
6 > <cue Mafia voice a la GodFather>
7 >
8 > The firmware checked that it *could* discard X bytes and then figured
9 > well, maybe it will, maybe it won't, maybe it'll do it on it's own
10 > good time, but what the heck - tell the user anyway how many bytes X
11 > is. Maybe that'll make the user happy so he'll stfu and go away......
12 >
13 > The command leads you to believe the discard was actually done, but
14 > that's not necessarily true :-)
15 >
16 > It's probably a case of the drive knows much better than you what it
17 > should do.
18
19 Ah, ok, Mafia implemented now ... ;-)
20 Thanks, Stefan