-
公开(公告)号:US12130735B2
公开(公告)日:2024-10-29
申请号:US18147362
申请日:2022-12-28
Applicant: HUAWEI TECHNOLOGIES CO., LTD.
CPC classification number: G06F12/0246 , G06F12/0253 , G06F13/1668 , G06F2212/7201
Abstract: Data writing methods and computing devices are provided. An example data writing method is applied to a computer system, and the computer system includes a file system and a flash memory-based storage system. The example data writing method includes obtaining a target logical address, where the target logical address is an address allocated from a first logical block to target data to be written into the flash memory-based storage system, the first logical block is one of multiple logical blocks in the file system, and the flash memory-based storage system includes multiple physical blocks. It is determined that the target logical address belongs to the first logical block. The target data is written into a first physical block based on a correspondence between the first logical block and the first physical block, where the first physical block is one of the multiple physical blocks.