tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: SSD "trim" support



On Wed, Feb 29, 2012 at 03:02:46PM +1100, Simon Burge wrote:
 > Matthias Drochner wrote:
 > One comment - the use of the name "TRIM" in the UFS layer could be a
 > bit more generic.  This same VOP could be used for example to handle
 > freeing up blocks with a flash device backing a UFS filesystem.  Maybe
 > use something like DIOCFREEBLOCKS instead of DIOCTRIM?

It should also, ideally, be the same interface one would use for
creating a hole in the middle of a regular file.

-- 
David A. Holland
dholland%netbsd.org@localhost


Home | Main Index | Thread Index | Old Index