Comments
Patch
@@ -57,6 +57,26 @@
volume. This is handy to make MTD-oriented software (like JFFS2)
work on top of UBI. Do not enable this unless you use legacy
software.
+menu "UBI with Log (UBIL)"
+config MTD_UBI_LOGGED
+ bool "UBI with logging (UBIL)"
+ default n
+ depends on MTD_UBI
+ help
+ This option enables logging in UBI. This is in development stage.
+ UBI log is maintained on device to reduce attach time of UBI.
+ It includeds super block, commit, eba log sub-modules.
+
+config MTD_UBIL_COMPR
+ bool "UBIL Meta-data compression in Log"
+ default n
+ depends on MTD_UBI_LOGGED
+ select CRYPTO
+ select CRYPTO_LZO
+ help
+ This option enables compression of meta-data in UBIL.
+
+endmenu
source "drivers/mtd/ubi/Kconfig.debug"
endmenu
@@ -91,4 +91,31 @@
help
This option enables debugging messages from the UBI input/output unit.
+config MTD_UBI_DEBUG_MSG_SB
+ bool "UBI with log sb messages"
+ default n
+ depends on MTD_UBI_DEBUG
+ depends on MTD_UBI_LOGGED
+ help
+ This option enables debugging messages from sn modules of the UBI
+ with log.
+
+config MTD_UBI_DEBUG_MSG_CMT
+ bool "UBI with log commit messages"
+ default n
+ depends on MTD_UBI_DEBUG
+ depends on MTD_UBI_LOGGED
+ help
+ This option enables debugging messages from commit modules of the UBI
+ with log.
+
+config MTD_UBI_DEBUG_MSG_EL
+ bool "UBI with log el messages"
+ default n
+ depends on MTD_UBI_DEBUG
+ depends on MTD_UBI_LOGGED
+ help
+ This option enables debugging messages from el modules of the UBI
+ with log.
+
endmenu # UBI debugging messages
@@ -1,7 +1,7 @@
obj-$(CONFIG_MTD_UBI) += ubi.o
ubi-y += vtbl.o vmt.o upd.o build.o cdev.o kapi.o eba.o io.o wl.o scan.o
-ubi-y += misc.o
+ubi-y += misc.o sb.o el.o commit.o
ubi-$(CONFIG_MTD_UBI_DEBUG) += debug.o
obj-$(CONFIG_MTD_UBI_GLUEBI) += gluebi.o
Note: kconfig for logging feature Signed-off-by: Rohit Dongre <rohit.dongre@samsung.com> ---