Method, electronic device and computer program product for flushing metadata

    公开(公告)号:US12066937B2

    公开(公告)日:2024-08-20

    申请号:US17746367

    申请日:2022-05-17

    摘要: Techniques for flushing metadata involve: receiving a flushing request, the flushing request instructing to flush metadata in at least one cache region to a persistent storage device; acquiring a plurality of target indicators, the target indicator at least indicating a type of a cache region and a block in the cache region, where the plurality of target indicators are classified based on types of cache regions indicated by the target indicators among the plurality of target indicators; determining, from the plurality of target indicators, at least one target indicator of the same type as the at least one cache region; and flushing metadata in a block indicated by the at least one target indicator. Such techniques avoid flushing a cache region that does not need to be flushed, shortens the response time to the flushing request, and reduces the occupancy of system resources.

    Method and apparatus for data access

    公开(公告)号:US10698831B2

    公开(公告)日:2020-06-30

    申请号:US15848451

    申请日:2017-12-20

    摘要: Embodiments of the present disclosure relates to a method and device of data access. The method comprises determining whether target data stored in a non-volatile storage device is cached in a memory. The target data is organized in a first level of a multi-way tree in the storage device. The method further comprises, in response to determining that the target data is missing in the memory, moving the target data from the storage device into the memory. Besides, the method comprises, in response to the target data being accessed from the memory, adding a reference to the target data to a first list, the first list recording a sequence for accessing data in the first level.

    Throttling writes with asynchronous flushing

    公开(公告)号:US10552322B2

    公开(公告)日:2020-02-04

    申请号:US15815313

    申请日:2017-11-16

    摘要: Embodiments are directed to techniques for allowing a data storage system to be able to flush data to underlying storage when the bandwidth is high without excessively impacting the maximum latency. This may be accomplished by utilizing asynchronous flushing and by throttling incoming writes by preventing too many asynchronous flushes from happening when the amount of available cache space is too small. In addition, an improved system employing Copy on First Write (CoFW) may initiate write throttling only once the amount of available write cache drops below a dynamically-calculated threshold that accounts for an amount of space actually needed to store CoFW buffers. In addition, only a portion of the write caching process is placed under the protection of a mutex or a spinlock, allowing a significant portion of the write caching for any given write operation to be performed without needing the mutex or spinlock, allowing some increased parallelization.

    METHOD, ELECTRONIC DEVICE AND COMPUTER PROGRAM PRODUCT FOR FLUSHING METADATA

    公开(公告)号:US20230086991A1

    公开(公告)日:2023-03-23

    申请号:US17746367

    申请日:2022-05-17

    摘要: Techniques for flushing metadata involve: receiving a flushing request, the flushing request instructing to flush metadata in at least one cache region to a persistent storage device; acquiring a plurality of target indicators, the target indicator at least indicating a type of a cache region and a block in the cache region, where the plurality of target indicators are classified based on types of cache regions indicated by the target indicators among the plurality of target indicators; determining, from the plurality of target indicators, at least one target indicator of the same type as the at least one cache region; and flushing metadata in a block indicated by the at least one target indicator. Such techniques avoid flushing a cache region that does not need to be flushed, shortens the response time to the flushing request, and reduces the occupancy of system resources.

    Method, system and computer program product for managing storage system

    公开(公告)号:US10732904B2

    公开(公告)日:2020-08-04

    申请号:US15993719

    申请日:2018-05-31

    IPC分类号: G06F12/00 G06F3/06 H04L12/24

    摘要: Implementations of the present disclosure relate to a method, system and computer program product for managing a storage system. Specifically, in one implementation of the present disclosure, there is provided a method for managing a storage system. The method comprises: obtaining topological information of a storage device in a first tier and a storage device in a second tier in the storage system; obtaining a storage rule specifying storage of a data object in the storage device in the first tier or the storage device in the second tier; and in response to determining the storage rule conforming to the topological information, managing the data object in the storage system according to the storage rule. In other implementations of the present disclosure, there is provided a corresponding system and computer program product.

    METHOD AND DEVICE FOR DATA READ AND WRITE
    6.
    发明申请

    公开(公告)号:US20200081626A1

    公开(公告)日:2020-03-12

    申请号:US16684249

    申请日:2019-11-14

    IPC分类号: G06F3/06 G06F16/176

    摘要: Embodiments of the present disclosure relate to method and device for data read/write. The method comprises: in response to receiving a first read/write request for a first target area, determining whether there is a second read/write request under execution in conflict with the first read/write request, a second target area for the second read/write request at least partially overlapping with the first target area, and at least one of the first read/write request and the second read/write request being a write request; and in response to determining there being the second read/write request in conflict, suspending the first read/write request while maintaining a sub-area of the first target area in an unlocked state, the sub-area not overlapping with the second target area.

    METHOD, ELECTRONIC DEVICE, AND COMPUTER PROGRAM PRODUCT FOR FLUSHING DATA

    公开(公告)号:US20230128416A1

    公开(公告)日:2023-04-27

    申请号:US17824317

    申请日:2022-05-25

    IPC分类号: G06F3/06

    摘要: In techniques for flushing data, based on a maturity level of a storage segment, the storage segment is inserted into a list to be flushed corresponding to the maturity level in a plurality of lists to be flushed, the plurality of lists to be flushed respectively correspond to different maturity levels, and the maturity level at least indicates a proportion of the number of data-written blocks to the total number of blocks of the storage segment; and the list to be flushed for the corresponding maturity level in the plurality of lists to be flushed is flushed to a disk array according to a descending order of the maturity levels. In this way, the bandwidth utilization of the disk array can be improved.

    Method and device for data read and write

    公开(公告)号:US10969966B2

    公开(公告)日:2021-04-06

    申请号:US16684249

    申请日:2019-11-14

    IPC分类号: G06F3/06 G06F16/176 G06F16/17

    摘要: Embodiments of the present disclosure relate to method and device for data read/write. The method comprises: in response to receiving a first read/write request for a first target area, determining whether there is a second read/write request under execution in conflict with the first read/write request, a second target area for the second read/write request at least partially overlapping with the first target area, and at least one of the first read/write request and the second read/write request being a write request; and in response to determining there being the second read/write request in conflict, suspending the first read/write request while maintaining a sub-area of the first target area in an unlocked state, the sub-area not overlapping with the second target area.