Public bug reported:
the initrd on snappy originates from the phone where we usually have MMC
devices that have TRIM properly implemented.
for the sake of power saving we decided to not make use of the fstrim cronjob
on phones (which is the userspace alternative to implement TRIM) but to rely on
the controller of the MMC to do the right thing.
snappy (unlike a phone install) is usually run from SD cards (arm) or USB keys
(x86) and is also usually not suspended for long periods (so that cron could
not run the fstrim job).
Most SD cards also implement TRIM as a no-op which is why we should drop
discard from the mount options here and fully rely on userspace. (and according
fstrim upstream, the userspace variant also gains us better performance)
** Affects: snappy
Importance: Undecided
Status: New
** Affects: initramfs-tools-ubuntu-core (Ubuntu)
Importance: Undecided
Assignee: Oliver Grawert (ogra)
Status: New
** Also affects: initramfs-tools-ubuntu-core (Ubuntu)
Importance: Undecided
Status: New
** Changed in: initramfs-tools-ubuntu-core (Ubuntu)
Assignee: (unassigned) => Oliver Grawert (ogra)
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1479711
Title:
snappy should not mount with "discard" option
To manage notifications about this bug go to:
https://bugs.launchpad.net/snappy/+bug/1479711/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs