Date: Sat, 01 Dec 2018 21:23:44 +0000 From: "Poul-Henning Kamp" <phk@phk.freebsd.dk> To: Warner Losh <imp@bsdimp.com> Cc: ish@amail.plala.or.jp, "freebsd-hackers@freebsd.org" <freebsd-hackers@freebsd.org> Subject: Re: How to use trim command ?,Re: How to use trim command ? Message-ID: <12404.1543699424@critter.freebsd.dk> In-Reply-To: <CANCZdfqsVo_mk4TqJy8pmp%2BDQvDSg-cgwxM03%2BxgT5_Y%2BVKvnA@mail.gmail.com> References: <7e69211c-6ffb-6155-b17a-a845c0b3586d@grosbein.net> <20181201.093153.893601099798031027.ish@amail.plala.or.jp> <1c7139bd-258c-e7d2-2572-052da3803b3b@freebsd.org> <20181201.202332.546134930481017424.ish@amail.plala.or.jp> <CANCZdfqsVo_mk4TqJy8pmp%2BDQvDSg-cgwxM03%2BxgT5_Y%2BVKvnA@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
-------- In message <CANCZdfqsVo_mk4TqJy8pmp+DQvDSg-cgwxM03+xgT5_Y+VKvnA@mail.gmail= .com>, Warner Losh writes: >On Sat, Dec 1, 2018 at 4:41 AM Masachika ISHIZUKA <ish@amail.plala.or.jp> >wrote: >> I think 'fsck_ffs -E' is not suitable for daily midnight cron job. > >FreeBSD doesn't have an equivalent of a daemon that runs and trims blocks >after a while of being idle (trimd on linux I think). Why would you run 'fsck_ffs -E' in cron anyway ? If the file-system is has TRIM enabled, it would be a no-op, unless there are bugs in the fs ? As for command name: bio_delete(8) would be my suggestion, but I'm biased= . -- = Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe = Never attribute to malice what can adequately be explained by incompetence= .
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?12404.1543699424>