Date: Thu, 22 Oct 2015 15:15:10 +0200 From: Julien Cigar <jcigar@ulb.ac.be> To: "Brandon J. Wandersee" <brandon.wandersee@gmail.com> Cc: Adam Vande More <amvandemore@gmail.com>, FreeBSD Questions <freebsd-questions@freebsd.org>, krad <kraduk@gmail.com> Subject: Re: gjournal and TRIM: A safe combination? Message-ID: <20151022131510.GY87605@mordor.lan> In-Reply-To: <86lhaw107r.fsf@WorkBox.Home> References: <867fmh12nq.fsf@WorkBox.Home> <CALfReyfg-71nCg4K0dKmUK-YmZ8yi0ppeGGv4WOD-2Mt8NP9HQ@mail.gmail.com> <86pp081glq.fsf@WorkBox.Home> <CA%2BtpaK0ezoi7wBBD9VZwREq9Qp0YaJNfJY42=tZAYi5VSL8rCA@mail.gmail.com> <20151021143525.GX87605@mordor.lan> <86lhaw107r.fsf@WorkBox.Home>
next in thread | previous in thread | raw e-mail | index | archive | help
--BzSjWsyRXn5FzoOl Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Oct 21, 2015 at 02:38:16PM -0500, Brandon J. Wandersee wrote: >=20 > Julien Cigar writes: > > Correct me if I'm wrong but, unless there is a bug in Soft Updates (SU), > > your FS will, in theory, never be corrupted with SU only. >=20 > If I read this right, then, would gjournal be overkill for typical > desktop/laptop use? UFS2 is perhaps the only filesystems I've ever > encountered in common use that doesn't have data journaling enabled by > default, so that's thrown me off somewhat... It depends of your needs, but for a typicaly desktop use it seems a bit overkill to me. Contrary to other filesystems UFS doesn't need journaling to avoid=20 _corruption_ as SU is an alternate approach to maintain metadata integrity. One important thing to remember is that neither SU, or SU+J, or any journaled metadata prevents data loss: corruption !=3D data loss. This is where gjournal (and data=3Djournal on EXT-like FS) comes in as datas and metadatas are written in the journal _before_, so you avoid corruption and data loss. I hope SU+J will be fixed one day ... >=20 > --=20 > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > :: Brandon Wandersee :: > :: brandon.wandersee@gmail.com :: > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > 'A common mistake that people make when trying to design something > completely foolproof is to underestimate the ingenuity of complete > fools.' > - Douglas Adams > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.o= rg" --=20 Julien Cigar Belgian Biodiversity Platform (http://www.biodiversity.be) PGP fingerprint: EEF9 F697 4B68 D275 7B11 6A25 B2BB 3710 A204 23C0 No trees were killed in the creation of this message. However, many electrons were terribly inconvenienced. --BzSjWsyRXn5FzoOl Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAABCgAGBQJWKOFaAAoJEAi2KiTKQR5pnhIP/0oDdPGykR4vo6pU7+PBpQkA jKeG6hTIUJoKQb33+bwM6y2C/knCeKi0WRfoYFRa/iHS/iv59daoa66wa07iUgTU y1CDGwsOQY0Rwpg+RIR+Wwa4bc6A5sGQ1lWge6mkgMvrmpfmsgmrgNQalBn/0dFx CkPdN48MBre1FSy1T8TRqBlYbag2Xk8TanBiHV4+DIUW7AzqJU3friax180q1Fxc NAJ6AWIGK/gZfvhl3qH+dpaMB0AF5TYQNQy561pByTYzYEVb8WZUWvUjXPIN9MKq LEO8WI5jOcJ/DayQEAKJl/mqvuKGvg2G6snKm+Xd85Cusa/u0FJpTKtsScAVf1/a /Sp/IEW7Cm81YRnM1UbH1itNosSbBOA2CEo1hGZ1Uec8s0PaOoUYtOovN9l2RzK/ d1uwkerNaDuimxfX5/WSqF/Le/m7aQF3NyKdQs3vAOmMh8j9iXpYMv2hEzujoOqt /BxTWp9MkD5pIxoWWqY/50IXCXiXayzvgk+DJE19NfF6gVB5SHNgolSODxR0bPr4 W1tr7nhj7I64Rd3Mm7VN5YOWNaNaC7h2JI8kabNKajFjFgFqaI3IFqBCx+VVbIz3 2P45j6fWiXNoTNDs8MUCAfbSu1M9D6RFcuec8j9lh0pwMaReaXzrnH4mK0iFhdPH NMoy3AD16tSIrOlRFME2 =MASZ -----END PGP SIGNATURE----- --BzSjWsyRXn5FzoOl--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20151022131510.GY87605>