On Fri, Nov 19, 2010 at 04:44:33PM +0100, Lukas Czerner wrote:
Yeah, the assumption was doing a single big discard (which is all
mke2fs is doing) should be fast. At least on sanely implemented SSD's
(i.e., like the Intel X25-M) it should be, since all that should
require is a flash write to the global mapping table, declaring all of
the blocks as free.
If there are some incompetently implemented SSD's out there which do a
flash erase of the entire SSD upon receiving a TRIM command (new
flash! Part of the whole *point* of a TRIM was to increase write
endurance by eliminating the need to copy blocks that really weren't
in use any more by the OS when the SSD is doing a GC copy/compaction
of a partially written flash sector), all I can do is do a sigh, and
wish that T13 had defined a "comptently implemented SSD bit" --- not
that Indilinix would admit if it they were incompetent. :-/
Yeah, sorry. I'm still recovering from the kernel summit and
plumber's. I've got to get the critical bugfix patches out to Linus
before -rc3, and then I will try to get back to e2fsprogs.
- Ted
--