OPTIMIZING ATOMIC WRITES TO A STORAGE DEVICE

    公开(公告)号:US20210181977A1

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

    申请号:US16716301

    申请日:2019-12-16

    IPC分类号: G06F3/06 G06F9/4401

    摘要: A computer-implemented method according to one embodiment includes initiating a read-modify-write (RMW) operation; assigning the RMW operation to a thread; identifying a storage device associated with the RMW operation; assign a log block within the storage device to the thread; determining a free shadow block location within the storage device; creating a copy of data to be written to the storage device during the RMW operation; writing the copy of the data to the free shadow block location within the storage device; updating the log block within the storage device to point to the free shadow block location to which the copy of the data is written; and writing the data to one or more blocks of a home area of the storage device.