[PATCH] UBI: introduce atomic LEB change ioctl

Josh Boyer jwboyer at linux.vnet.ibm.com
Fri Jan 25 16:28:29 EST 2008


On Thu, 24 Jan 2008 18:54:53 +0200
Artem Bityutskiy <dedekind at infradead.org> wrote:

> >From e405cf1dc645e7931df0e47ee7408d5251e2d9d0 Mon Sep 17 00:00:00 2001
> From: Artem Bityutskiy <Artem.Bityutskiy at nokia.com>
> Date: Thu, 24 Jan 2008 16:15:14 +0200
> Subject: [PATCH] UBI: introduce atomic LEB change ioctl
> 
> We have to be able to change individual LEBs for utilities like
> ubifsck, ubifstune. For example, ubifsck has to be able to fix
> errors on the media, ubifstune has to be able to change the
> the superblock, hence this ioctl.

Could you explain a bit more?  What exactly does "atomic" mean?

This seems like it's similar to volume update, only on a LEB level
right? If so, could you make volume update just use this or somehow
combine them?

Maybe I've just been away from UBI too long.  It sounds cool, but I
don't fully understand what the intention is.

josh



More information about the linux-mtd mailing list