public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* [PATCH] [UBI] 0/4 notifications
@ 2008-12-08 17:59 dmitry pervushin
  2008-12-09 10:36 ` Artem Bityutskiy
  0 siblings, 1 reply; 2+ messages in thread
From: dmitry pervushin @ 2008-12-08 17:59 UTC (permalink / raw)
  To: linux-mtd

Hello all,

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.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-12-09 10:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-08 17:59 [PATCH] [UBI] 0/4 notifications dmitry pervushin
2008-12-09 10:36 ` Artem Bityutskiy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox