| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
Revert "[feature] Expose more public functions of the BCH library." 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> | 2 个月前 | |
Merge branch 'master' into vela apache/nuttx commit id: eb27ebba8adfe29644a7b890f86e6f16941921dc Signed-off-by: ligd <liguiding1@xiaomi.com> Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com> | 2 个月前 | |
Revert "[feature] Expose more public functions of the BCH library." 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> | 2 个月前 | |
drivers: migrate to SPDX identifier Most tools used for compliance and SBOM generation use SPDX identifiers This change brings us a step closer to an easy SBOM generation. Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> | 2 个月前 | |
Revert "[feature] Expose more public functions of the BCH library." 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> | 2 个月前 | |
[feature] Add a direct writing method for ftl To save more space (equivalent to the size of one erase sector of MTD device) and to achieve faster read and write speeds, a method for direct writing was introduced at the FTL layer. This can be accomplished simply by using the following oflags during the open operation: 1. O_DIRECT. when this flag is passed in, ftl internally uses the direct write strategy and no read cache is used in ftl; otherwise, each write will be executed with the minimum granularity of flash erase sector size which means a "sector read back - erase sector - write sector" operation is performed by using a read cache buffer in heap. 2. O_SYNC. When this flag is passed in, we assume that the flash has been erased in advance and no erasure operation will be performed internally within ftl. O_SYNC will take effect only when both O_DIRECT and O_SYNC are passed in simultaneously. 3. For uniformity, we remapped the mount flag in mount.h and unified it with the open flag in fcntl.h. The repetitive parts of their definitions were reused, and the remaining part of the mount flag redefine to the unused bit of open flags. Signed-off-by: jingfei <jingfei@xiaomi.com> | 2 个月前 | |
drivers: migrate to SPDX identifier Most tools used for compliance and SBOM generation use SPDX identifiers This change brings us a step closer to an easy SBOM generation. Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> | 2 个月前 | |
drivers: migrate to SPDX identifier Most tools used for compliance and SBOM generation use SPDX identifiers This change brings us a step closer to an easy SBOM generation. Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> | 2 个月前 | |
drivers: migrate to SPDX identifier Most tools used for compliance and SBOM generation use SPDX identifiers This change brings us a step closer to an easy SBOM generation. Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> | 2 个月前 | |
[feature] Add a direct writing method for ftl To save more space (equivalent to the size of one erase sector of MTD device) and to achieve faster read and write speeds, a method for direct writing was introduced at the FTL layer. This can be accomplished simply by using the following oflags during the open operation: 1. O_DIRECT. when this flag is passed in, ftl internally uses the direct write strategy and no read cache is used in ftl; otherwise, each write will be executed with the minimum granularity of flash erase sector size which means a "sector read back - erase sector - write sector" operation is performed by using a read cache buffer in heap. 2. O_SYNC. When this flag is passed in, we assume that the flash has been erased in advance and no erasure operation will be performed internally within ftl. O_SYNC will take effect only when both O_DIRECT and O_SYNC are passed in simultaneously. 3. For uniformity, we remapped the mount flag in mount.h and unified it with the open flag in fcntl.h. The repetitive parts of their definitions were reused, and the remaining part of the mount flag redefine to the unused bit of open flags. Signed-off-by: jingfei <jingfei@xiaomi.com> | 2 个月前 | |
drivers: migrate to SPDX identifier Most tools used for compliance and SBOM generation use SPDX identifiers This change brings us a step closer to an easy SBOM generation. Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> | 2 个月前 | |
Revert "[feature] Expose more public functions of the BCH library." 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> | 2 个月前 |
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 |