Efficient replication of file clones

    公开(公告)号:US12111795B2

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

    申请号:US17357044

    申请日:2021-06-24

    申请人: VMware LLC

    摘要: A method for managing replication of cloned files is provided. Embodiments include determining, at a source system, that a first file has been cloned to create a second file. Embodiments include sending, from the source system to a replica system, an address of the first extent and an indication that a status of the first extent has changed from non-cloned to cloned. Embodiments include changing, at the replica system, a status of a second extent associated with a replica of the first file on the replica system from non-cloned to cloned and creating a mapping of the address of the first extent to an address of the second extent on the replica system. Embodiments include creating, at the replica system, a replica of the second file comprising a reference to the address of the second extent on the replica system.

    AVOIDING DIRECTORY CONTENTION IN DISTRIBUTED FILESYSTEM REPLICATION

    公开(公告)号:US20240330247A1

    公开(公告)日:2024-10-03

    申请号:US18191536

    申请日:2023-03-28

    IPC分类号: G06F16/182

    CPC分类号: G06F16/1844

    摘要: The described technology is generally directed towards replicating a filesystem namespace from a source system such as a source node cluster to a target system such as a target node cluster. Directory transfer tasks processed at the source are sent to the target build a replica of a hierarchical namespace on a target cluster, in which the namespace contains the directories and files, with the file content temporarily absent. Files transfer tasks processed at the source are sent to the target to write the content into the files, generally after namespace creation is complete. Directory transfer is recursive, as one directory transfer task creates another directory transfer task for each of its child directories, and can be concurrent and sent as bulk transfer requests for efficiency in reducing overall latency overhead. File content transfer can transfer the content of multiple small files in a single transfer task request.