From mboxrd@z Thu Jan 1 00:00:00 1970 From: Artem Bityutskiy Subject: Re: [PATCH] UBI: allow atomic updates to sychronously erase old PEB Date: Wed, 11 Apr 2012 19:04:25 +0300 Message-ID: <1334160265.13842.23.camel@sauron.fi.intel.com> References: <4F748CD6.4080704@parrot.com> <1333110503.5440.24.camel@sauron.fi.intel.com> <1333111321.5440.29.camel@sauron.fi.intel.com> <1334147205.13842.8.camel@sauron.fi.intel.com> Reply-To: dedekind1@gmail.com Mime-Version: 1.0 Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-Qwrin9GrUl87QEiSJrHf" Cc: "linux-fsdevel@vger.kernel.org" , "linux-mtd@lists.infradead.org" , "linux-kernel@vger.kernel.org" To: Joel Reardon Return-path: Received: from mga02.intel.com ([134.134.136.20]:41897 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755150Ab2DKQBs (ORCPT ); Wed, 11 Apr 2012 12:01:48 -0400 In-Reply-To: Sender: linux-fsdevel-owner@vger.kernel.org List-ID: --=-Qwrin9GrUl87QEiSJrHf Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Wed, 2012-04-11 at 15:14 +0200, Joel Reardon wrote: > This is a proposal for adding an immediate mode for atomic updates of LEB= s in > UBI. The idea is that, if the erase parameter is non-zero, then the old P= EB > will be erase after the new PEB is written, but before the function retur= ns. It > will not go into a work queue. This is for security-relevant situations w= here, > for instance, the user needs assurance that sensitive information on an > eraseblock is actually gone after the update. Amended the commit message, and actually squashed 2 patches to preserve bisectability. I've pushed this to the master branch. I've also re-based your 'joel' branch on top of the master branch. Your old branch is saved in 'joel_old'. I did this because there were minor a minor conflict with other UBIFS changes, so I thought it makes sense to rebase now. Some tips. 1. save all your changes. 2. checkout the 'joel' branch 3. git fetch -f 4. git reset --hard origin/joel This will let you update to the latest joel. git checkout -b jeol_old origin/joel_old will give you your old stuff. Yes, sorry, I told you I won't rebase but then I noticed small conflicts and decided that it is better if you are up-to-date. If you are unhappy - let me know and I'll return you to the old stuff and will apply this patch there. Thanks! --=20 Best Regards, Artem Bityutskiy --=-Qwrin9GrUl87QEiSJrHf Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iQIcBAABAgAGBQJPhauJAAoJECmIfjd9wqK0ji0QAIy4t6ATaWcfmhA0iVXnH3GS Bx1QyHBjpe7ymo1PJOt9xh5oMyKP8urVtB7De6QOsr2J6QpsTvJJTuOGkA3ca3Ut D9jNOOofVK7llJt7PdghBHWPGFZCtgOV42rPumhydl9LIuOzMF2HKrbrylSkrL/d gacOAd+dyyHv46FV5sLXVwI3O/QcUzrxJpPSjWSZls3Sr/ASJzfPdF6l+9uEx1Gl FNpRkMtQ1ggvFL8ylbpLG0aMvs7+/oH1JtKnOsT8o6WAJlmGct6qzquCzMSGja3C JqkjK842rBAXZXwYiEdnwYP4mWQCBR4WqHUabpf8OxVEPV5UnaHHCEH4NtDZNX+N 98jcS2UW6sNoI4NwpY2McoAuTJR0IzFvnpb1EAWu6kEwZkUozZzfz7M4OliJKNgA ZTGaJGzainZz4RdiJ6KC0pZV6ZS8xjPZ0WnsUomF0GRZKe+2cWQZ/0JOLJdQcIF5 F0SqgG7o4YxCY1Z3OUq0QMrItZJWJwFVMrCt6GQoJRciVipjwL9cCKGT68UFO+PB X2niL6WNnzo/kFXTjbWpwDb2w165otjjDRxZ3aI9j2C4PWqHB09ZBFeOKTPEyt7V LtCivtLY9jJBKX2snrGljiMNVGINhVyc9IEavSGU5Zuy80PC0jTdrSJuZk6zQhb0 aXCZMjUuNOUWlHsBmzDa =53tp -----END PGP SIGNATURE----- --=-Qwrin9GrUl87QEiSJrHf--