UFS Trim wont stay set

2013-07-04 Thread Mike Jakubik
Hello, I've just installed a stable snapshot on a new machine with a SSD drive, after installing i booted single user mode and ran # tunefs -t enable /dev/ada0p2 tunefs: issue TRIM to the disk set Great, back to multiuser mode, i check the partition # tunefs -p /dev/ada0p2 tunefs: POSIX.1e

Re: UFS Trim wont stay set

2013-07-04 Thread Jeremy Chadwick
On Thu, Jul 04, 2013 at 03:37:28PM -0400, Mike Jakubik wrote: Hello, I've just installed a stable snapshot on a new machine with a SSD drive, after installing i booted single user mode and ran # tunefs -t enable /dev/ada0p2 tunefs: issue TRIM to the disk set Great, back to multiuser

Re: UFS Trim wont stay set

2013-07-04 Thread Mike Jakubik
On 07/04/13 16:33, Jeremy Chadwick wrote: Yup, experienced this myself many times over. The reasons are understood (it's not limited to just the TRIM bits, it's related to anything adjusting the superblock -- it gets cached in memory in certain situations and not flushed back to disk). Hint:

Re: UFS Trim wont stay set

2013-07-04 Thread Jeremy Chadwick
On Thu, Jul 04, 2013 at 04:48:38PM -0400, Mike Jakubik wrote: On 07/04/13 16:33, Jeremy Chadwick wrote: Yup, experienced this myself many times over. The reasons are understood (it's not limited to just the TRIM bits, it's related to anything adjusting the superblock -- it gets cached in