On Wed, 12 Oct 2011 00:28:03 +0200
"Stefan G. Weichinger" <li...@xunil.at> wrote:

> Am 12.10.2011 00:05, schrieb Alan McKinnon:
> 
> > Yes, you misunderstand how fstrim works. It's not up to you to say
> > what it does exactly, it's up to the drive firmware and possibly
> > the kernel. It's actually fully described in the man page right
> > there in the part for option -v  :-)
> 
> So it only tells me "something"?

No, it's giving you a fact (and slightly misrepresenting it in the
output).

You asked the drive firmware for a favour - to please check if anything
can be discarded and if so to discard it.

<cue Mafia voice a la GodFather>

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.


-- 
Alan McKinnnon
alan.mckin...@gmail.com

Reply via email to