TRIM Support?
Hi,
I notice that the pitch for NILFS is that it is particularly suitable for flash based media. Does it have any sort of support for TRIM command? If not, is there at least an equivalent of dumpfs that could be used to get the list of free blocks that could be passed to hdparm to issue TRIM commands to the SSD?
TIA.
Gordan
--
To unsubscribe from this list: send the line "unsubscribe linux-nilfs" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
A message that is not in the archive (sent off-list or not yet received): [email protected]
hi
At Tue, 25 May 2010 19:16:50 +0100,
Quoted 8 lines · Gordan Bobic
Hi,
I notice that the pitch for NILFS is that it is particularly suitable for flash based media. Does it have any sort of support for TRIM command? If not, is there at least an equivalent of dumpfs that could be used to get the list of free blocks that could be passed to hdparm to issue TRIM commands to the SSD?
You may want to specify discard mount option for the purpose. see Documentation/filesystems/nilfs2.txt
And if you want to see the usage of blocks, you can use combination of lssu and dumpseg to see which block numbers are in use.
thanks,
regards,
Quoted 10 lines
TIA.
Gordan
--
To unsubscribe from this list: send the line "unsubscribe linux-nilfs" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Signature · 5 lines
Jiro SEKIBA <[email protected]> -- To unsubscribe from this list: send the line "unsubscribe linux-nilfs" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
A message that is not in the archive (sent off-list or not yet received): 87ljb7bftn.wl%[email protected]
Quoted 7 lines · Jiro SEKIBA
hi
At Tue, 25 May 2010 19:16:50 +0100,
Quoted 3 lines · Gordan Bobic
Hi,
Quoted 8 lines
Quoted 5 lines
I notice that the pitch for NILFS is that it is particularly suitable for flash based media. Does it have any sort of support for TRIM command? If not, is there at least an equivalent of dumpfs that could be used to get the list of free blocks that could be passed to hdparm to issue TRIM commands to the SSD?
You may want to specify discard mount option for the purpose. see
Documentation/filesystems/nilfs2.txt
FYI, the trim support ("-o discard") was merged at linux-2.6.34.
Cheers,
Ryusuke Konishi
--
To unsubscribe from this list: send the line "unsubscribe linux-nilfs" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html