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

Bug#768315: unblock: util-linux/2.25.2-3



Russ Allbery [2014-11-06 22:13 -0800]:
> The concern with the service unit is that it's only a service unit with no
> corresponding init script.  If the behavior is a good idea, we should do
> it regardless of the init system, I would think

I agree. In Ubuntu we've carried this for a while now:

| $ cat /etc/cron.weekly/fstrim
| #!/bin/sh
| # trim all mounted file systems which support it
| /sbin/fstrim --all || true

This is init system agnostic, and with anacron it also works nicely on
desktops.

> Of course, if in your view as a maintainer this functionality isn't ready
> for jessie or you don't want to support it, just backing out of the change
> also works.

It also took us quite some time in Ubuntu to enable it by default, and
we did extensive measurements to see which approach is best. But not
trimming SSDs is really quite bad these days, so from my POV it would
be quite prudent to include either the timer or the cron job in
jessie.

Thanks,

Martin
-- 
Martin Pitt                        | http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)

Attachment: signature.asc
Description: Digital signature


Reply to: