linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Artem Bityutskiy <dedekind1@gmail.com>
To: Joel Reardon <joel@clambassador.com>
Cc: "linux-fsdevel@vger.kernel.org" <linux-fsdevel@vger.kernel.org>,
	"linux-mtd@lists.infradead.org" <linux-mtd@lists.infradead.org>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] UBI: allow atomic updates to sychronously erase old PEB
Date: Wed, 11 Apr 2012 19:04:25 +0300	[thread overview]
Message-ID: <1334160265.13842.23.camel@sauron.fi.intel.com> (raw)
In-Reply-To: <alpine.DEB.2.00.1204111513230.10181@eristoteles.iwoars.net>

[-- Attachment #1: Type: text/plain, Size: 1412 bytes --]

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 LEBs in
> UBI. The idea is that, if the erase parameter is non-zero, then the old PEB
> will be erase after the new PEB is written, but before the function returns. It
> will not go into a work queue. This is for security-relevant situations where,
> 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!

-- 
Best Regards,
Artem Bityutskiy

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

  reply	other threads:[~2012-04-11 16:01 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-29 14:55 [PATCH] UBI: allow atomic updates to sychronously erase old PEB Joel Reardon
2012-03-29 16:24 ` Matthieu CASTET
2012-03-30 12:20   ` Joel Reardon
2012-03-30 12:28     ` Artem Bityutskiy
2012-03-30 12:33       ` Joel Reardon
2012-03-30 12:42         ` Artem Bityutskiy
2012-03-30 15:11           ` Joel Reardon
2012-04-11 12:26             ` Artem Bityutskiy
2012-04-11 13:14               ` Joel Reardon
2012-04-11 16:04                 ` Artem Bityutskiy [this message]
2012-04-11 13:14               ` [PATCH] UBIFS: use ubi's new ubi_leb_change sync parameter Joel Reardon
2012-04-11 15:38                 ` Joel Reardon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1334160265.13842.23.camel@sauron.fi.intel.com \
    --to=dedekind1@gmail.com \
    --cc=joel@clambassador.com \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mtd@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).