[PATCH] [UBI] 0/4 notifications
dedekind at infradead.org
Tue Dec 9 05:36:21 EST 2008
On Mon, 2008-12-08 at 20:59 +0300, dmitry pervushin wrote:
> I am glad to present the serie of patches that implement volume
> notifications in UBI and based on these notifications reworked MTD
> emulation layer and a simple mtdblock-like FTL.
> UBI volume notifications is intended to create the API to get clients
> notified about volume creation/deletion, renaming and changing(actually,
> resizing). A client can subscribe to these notifications using
> ubi_volume_register and cancel the subsription using
> ubi_volume_unregister. When UBI volume change occurs, the atomic
> notifier will be called. Client also can request "added" event on all
> volumes that existed before client subscribed to the notifications.
> Using notifications instead of calling functions ubi_gluebi_xxx allows
> MTD emulation layer to be more flexible; say, now is it possible to
> build it as a module and load/unload it on demand.
> The simple FTL uses the same notification mechanism and provides
> mtdblock-like layer.
minor general notes:
1. Please, make sure checkpatch.pl is happy - here are complaints about
2. Would you please add kernel-doc style comments functions you
introduce? Lets maintain consistent code style please.
Artem Bityutskiy (Битюцкий Артём)
More information about the linux-mtd