From owner-freebsd-arm@FreeBSD.ORG Tue Mar 3 01:47:12 2015 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 486E6822 for ; Tue, 3 Mar 2015 01:47:12 +0000 (UTC) Received: from mail-pd0-f181.google.com (mail-pd0-f181.google.com [209.85.192.181]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 15695A15 for ; Tue, 3 Mar 2015 01:47:11 +0000 (UTC) Received: by pdbnh10 with SMTP id nh10so20565455pdb.3 for ; Mon, 02 Mar 2015 17:47:11 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:subject:mime-version:content-type:from :in-reply-to:date:cc:message-id:references:to; bh=5Rh/NwcJMiXoc4ttIRt2JNTLtgA7iYByCqMjy7PxyL4=; b=CJo/anxcRwUxJFzFxVjuxd6s0htriXBnIA8xNTj2LfqYIUCRL0Ziyvs4kOwGt1/4A3 8d412YPXLEzRY57hZbY+TKWXtJ6iBXKB7FF0QND1kZMJhT5ua81BWdK0LNTbp8tAoM6B 7swUPTiuM5ztrvAqFpWgcwZ1TNzqRW9BSx2z8bel2XL6hdtItdHcDMjxDbGMInF0IL4R D7wRhBp/X9tqWrBD063AE5wV51hnTPQJx8StDyguWjGHP5fUi4NQFOm5X93rPE7FWfVJ G8rQM9RMDMfRZ6UypVlVQ4FB36FpuXWLNKhVHoR4DYvuT/Dsbs2JwR6006vJWWz1XYfj 0j1w== X-Gm-Message-State: ALoCoQl422eFCws5P/gGFiSoE/0iMHvZZKX5E2j6YPhQHN0thPCrJmLZCO2unT21VJIZ6om6nTa5 X-Received: by 10.68.237.2 with SMTP id uy2mr51641790pbc.72.1425347231146; Mon, 02 Mar 2015 17:47:11 -0800 (PST) Received: from lgmac-scingram.corp.netflix.com ([69.53.236.236]) by mx.google.com with ESMTPSA id gi6sm13063756pbd.93.2015.03.02.17.47.09 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 02 Mar 2015 17:47:10 -0800 (PST) Sender: Warner Losh Subject: Re: disabling journaling? Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2070.6\)) Content-Type: multipart/signed; boundary="Apple-Mail=_B9AFD5B9-02C8-4018-BCB8-55388E87D6FB"; protocol="application/pgp-signature"; micalg=pgp-sha512 X-Pgp-Agent: GPGMail 2.5b5 From: Warner Losh In-Reply-To: <54F5113E.9020405@ceetonetechnology.com> Date: Mon, 2 Mar 2015 18:47:07 -0700 Message-Id: References: <54F5102A.10906@ceetonetechnology.com> <54F5113E.9020405@ceetonetechnology.com> To: George Rosamond X-Mailer: Apple Mail (2.2070.6) Cc: freebsd-arm@freebsd.org X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Mar 2015 01:47:12 -0000 --Apple-Mail=_B9AFD5B9-02C8-4018-BCB8-55388E87D6FB Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 > On Mar 2, 2015, at 6:41 PM, George Rosamond = wrote: >=20 > George Rosamond: >> Ian mentioned softupdates + journaling is a problem. >>=20 >> https://marc.info/?l=3Dfreebsd-arm&m=3D142526289401012&w=3D2 >>=20 >>> IMO, there's your problem right there. People have been reporting = for >>> years that softupdates + journaling =3D corruption. The freebsd = project's >>> collective response to all those reports has been a rather silent = yawn. >>> The only sane response, IMO, is to not use journaling. >>=20 >> Should crochet be adjusted for it in lib/disk.sh? >>=20 >> # Turn on Softupdates >> tunefs -n enable ${NEW_UFS_DEVICE} >> # Turn on SUJ with a minimally-sized journal. >> # This makes reboots tolerable if you just pull power >> # Note: A slow SDHC reads about 1MB/s, so a 30MB >> # journal can delay boot by 30s. >> tunefs -j enable -S 4194304 ${NEW_UFS_DEVICE} >> # Turn on NFSv4 ACLs >> tunefs -N enable ${NEW_UFS_DEVICE} >>=20 >> I assume journaling should go first. Besides in build scripts, don't >> know how this would be done a system for the root partition when you >> can't go into single-user mode. >=20 > Let me qualify that. Should journaling be disabled by default on = flash > media? This wouldn't necessarily apply to all Crochet builds. Media type shouldn=E2=80=99t matter. If there=E2=80=99s bugs, there=E2=80=99= s bugs. Warner --Apple-Mail=_B9AFD5B9-02C8-4018-BCB8-55388E87D6FB Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Comment: GPGTools - https://gpgtools.org iQIcBAEBCgAGBQJU9RKcAAoJEGwc0Sh9sBEAcisP/0C/nrtkDdwy5j2Y7OASsXdr dhBHt3PnQvq6mt4y1bv3zPz0Wt9ZNueiaQepy5nF2/3J6OrlSkrfmKBhQB/3F1US Kcj9KcbDGvKBAZeq8QKeHMYbzrYAfGFrhQxOx1gVDCAbs1uSk5iAaBc2FfrAVS3s 3vDDd9GDBlYRv5EygT8JxfieMz9M3pYA/Bl8ltLhEZWyMIDa+v9yinjrsnZ72cFO gScREYFedqjTYdYwvtXmE4Y0UtVr/+Dwb3dJa6Va2qgSRBVy28k0lrSpJPsMqVwg 4Ick9KejAxIuLNjV0tPuaB2YxkX4AvLG4MAGE59PVQYXc4iYRUgJo4+P6rRnhGHQ JlvnIAeVEzi220vsJiwcABMOM2uZbLFvH8Mx55kng1DwY1TXwWVDr8a/esPaaAtz RWJRtqnd3qBvbra7x74FZT+e+UzpWoHzIgQnp2QfqbTQyLLI82EHFuwyhwcYPzPA MjNib+dogsfGPfcvw97xdkzg8ko7yP5qJUlqecdlaEInYfpHBmZ2FeT2Yicg39PV cgVBezvbLB/Jk+VikzZOkmTI5ojar3m+xH3c+AX1HkJOLa7vjb6rZoZtY/v8n1Mt 5s+B6qAzu5vvLA6emoJsOFy2ooW3E7FbjaU2HB6ZwpiUH1xyzAxACNXxqzf+H0CK 8FVk+Lk20tDHWPe4m/sb =ADAo -----END PGP SIGNATURE----- --Apple-Mail=_B9AFD5B9-02C8-4018-BCB8-55388E87D6FB--