← Back to team overview

kernel-packages team mailing list archive

[Bug 1244504] Re: need to enable trim for SSD disk automatically

 

** Changed in: linux (Ubuntu)
   Importance: Undecided => Medium

** Tags added: tasty

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1244504

Title:
  need to enable trim for SSD disk automatically

Status in “linux” package in Ubuntu:
  Confirmed

Bug description:
  Many filesystems support discard feature, and lots of SSD disks(even some usb storages)
  support TRIM feature, but unfortunately Ubuntu does not enable it automatically.

  With trim/discard enabled, SSD's lifetime can be increased and write performance
  may be improved.

  For common users, we can't expect them to know trim and enable it manually, so
  it is better to let ubuntu do it automatically like below:

  - check if the disk support trim by hdparm -I
  - if the disk supports trim, either mount with '-o discard' or doing trim in background
  periodically as suggested in below link[1], or other better way

  [1], http://blog.neutrino.es/2013/howto-properly-activate-trim-for-
  your-ssd-on-linux-fstrim-lvm-and-dmcrypt/

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1244504/+subscriptions


References