This patch was originally intended to expose more interfaces of bch and integrate them into ftl, allowing ftl to add file operations. In this way, we can pass oflags to ftl through the open interface, allowing ftl to determine some of its own behaviors based on Oflags: whether the write operation needs to perform readback - erase - write , or choose to write directly. However, a better approach has been proposed at present: the Oflags parameter can be passed to ftl_initialize_by_path through mtd_proxy during the open process, so this patch is no longer required This reverts commit a537a3432dd337de4f522a0cb69327896c15f88b. Signed-off-by: jingfei <jingfei@xiaomi.com> |
||
|---|---|---|
| .. | ||
| CMakeLists.txt | ||
| Kconfig | ||
| Make.defs | ||
| bch.h | ||
| bchdev_driver.c | ||
| bchdev_register.c | ||
| bchdev_unregister.c | ||
| bchlib_cache.c | ||
| bchlib_read.c | ||
| bchlib_setup.c | ||
| bchlib_teardown.c | ||
| bchlib_write.c | ||