Re: [PATCH 1/2] fs: Do not dispatch FITRIM through separate super_operation

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Ted Ts'o
Date: Friday, November 19, 2010 - 9:30 am

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
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH 1/2] fs: Do not dispatch FITRIM through separat ..., Christoph Hellwig, (Thu Nov 18, 7:29 am)
Re: [PATCH 1/2] fs: Do not dispatch FITRIM through separat ..., Markus Trippelsdorf, (Thu Nov 18, 12:32 pm)
Re: [PATCH 1/2] fs: Do not dispatch FITRIM through separat ..., Martin K. Petersen, (Thu Nov 18, 4:52 pm)
Re: [PATCH 1/2] fs: Do not dispatch FITRIM through separat ..., Martin K. Petersen, (Thu Nov 18, 6:49 pm)
Re: [PATCH 1/2] fs: Do not dispatch FITRIM through separat ..., Christoph Hellwig, (Fri Nov 19, 4:09 am)
Re: [PATCH 1/2] fs: Do not dispatch FITRIM through separat ..., Christoph Hellwig, (Fri Nov 19, 4:55 am)
Re: [PATCH 1/2] fs: Do not dispatch FITRIM through separat ..., Steven Whitehouse, (Fri Nov 19, 5:16 am)
Re: [PATCH 1/2] fs: Do not dispatch FITRIM through separat ..., Christoph Hellwig, (Fri Nov 19, 7:06 am)
Re: [PATCH 1/2] fs: Do not dispatch FITRIM through separat ..., Christoph Hellwig, (Fri Nov 19, 7:10 am)
Re: [PATCH 1/2] fs: Do not dispatch FITRIM through separat ..., Christoph Hellwig, (Fri Nov 19, 7:54 am)
Re: [PATCH 1/2] fs: Do not dispatch FITRIM through separat ..., Christoph Hellwig, (Fri Nov 19, 7:57 am)
Re: [PATCH 1/2] fs: Do not dispatch FITRIM through separat ..., Christoph Hellwig, (Fri Nov 19, 8:34 am)
Re: [PATCH 1/2] fs: Do not dispatch FITRIM through separat ..., Christoph Hellwig, (Fri Nov 19, 8:50 am)
Re: [PATCH 1/2] fs: Do not dispatch FITRIM through separat ..., Christoph Hellwig, (Fri Nov 19, 8:50 am)
Re: [PATCH 1/2] fs: Do not dispatch FITRIM through separat ..., Ted Ts'o, (Fri Nov 19, 9:30 am)
Re: [PATCH 1/2] fs: Do not dispatch FITRIM through separat ..., Christoph Hellwig, (Fri Nov 19, 9:38 am)
Re: [PATCH 1/2] fs: Do not dispatch FITRIM through separat ..., Valdis.Kletnieks, (Sun Nov 21, 12:07 pm)
Re: [PATCH 1/2] fs: Do not dispatch FITRIM through separat ..., Martin K. Petersen, (Wed Nov 24, 9:23 pm)