On Fri, Jul 8, 2011 at 10:29 AM, Ted Unangst <[email protected]> wrote: > On Fri, Jul 08, 2011, Luis Useche wrote: >> Hi Guys, >> >> I saw that Ted recently submitted a patch to support the TRIM >> operation in FFS. I was wondering if this TRIM can be used to signal >> softraid what blocks are in use or not and reduce the reconstruction >> time. I think this could also help to some other optimizations. > > In theory, yes, but that would require softraid to keep such information > in its metadata and there's no space for that. So no. On the other hand, > softraid will be changed to pass TRIM down to the underlying drives.
I see. I was thinking that it probably does not have to save all the information. A bloom filter could help to discard some of the empty blocks in the reconstruction process. But again, I don't know the restrictions of space in softraid. Luis.

