-
公开(公告)号:US09304937B2
公开(公告)日:2016-04-05
申请号:US14163913
申请日:2014-01-24
Applicant: NetApp, Inc.
Inventor: Greg William Achilles , Gordon Hulpieu , Donald Roman Humlicek , Martin Oree Parrish , Kent Prosch , Alan Stewart
CPC classification number: G06F12/0891 , G06F11/1471 , G06F12/0815 , G06F12/0873
Abstract: Atomic write operations for storage devices are implemented by maintaining the data that would be overwritten in the cache until the write operation completes. After the write operation completes, including generating any related metadata, a checkpoint is created. After the checkpoint is created, the old data is discarded and the new data becomes the current data for the affected storage locations. If an interruption occurs prior to the creation of the checkpoint, the old data is recovered and any new is discarded. If an interruption occurs after the creation of the checkpoint, any remaining old data is discarded and the new data becomes the current data. Write logs that indicate the locations affected by in progress write operation are used in some implementations. If neither all of the new data nor all of the old data is recoverable, a predetermined pattern can be written into the affected locations.
Abstract translation: 存储设备的原子写入操作通过维护在缓存中被覆盖的数据直到写入操作完成来实现。 写操作完成后,包括生成任何相关的元数据,将创建一个检查点。 创建检查点后,旧数据将被丢弃,新数据将成为受影响存储位置的当前数据。 如果在创建检查点之前发生中断,则恢复旧数据,并丢弃任何新数据。 如果在创建检查点后发生中断,则丢弃任何剩余的旧数据,并将新数据变为当前数据。 在一些实现中使用写入指示在进行中写入操作影响的位置的日志。 如果既不能全部新数据也不能恢复旧数据,则可以将预定模式写入受影响的位置。
-
公开(公告)号:US20150113224A1
公开(公告)日:2015-04-23
申请号:US14163913
申请日:2014-01-24
Applicant: NetApp, Inc.
Inventor: Greg William Achilles , Gordon Hulpieu , Donald Roman Humlicek , Martin Oree Parrish , Kent Prosch , Alan Stewart
IPC: G06F12/08
CPC classification number: G06F12/0891 , G06F11/1471 , G06F12/0815 , G06F12/0873
Abstract: Atomic write operations for storage devices are implemented by maintaining the data that would be overwritten in the cache until the write operation completes. After the write operation completes, including generating any related metadata, a checkpoint is created. After the checkpoint is created, the old data is discarded and the new data becomes the current data for the affected storage locations. If an interruption occurs prior to the creation of the checkpoint, the old data is recovered and any new is discarded. If an interruption occurs after the creation of the checkpoint, any remaining old data is discarded and the new data becomes the current data. Write logs that indicate the locations affected by in progress write operation are used in some implementations. If neither all of the new data nor all of the old data is recoverable, a predetermined pattern can be written into the affected locations.
Abstract translation: 存储设备的原子写入操作通过维护在缓存中被覆盖的数据直到写入操作完成来实现。 写操作完成后,包括生成任何相关的元数据,将创建一个检查点。 创建检查点后,旧数据将被丢弃,新数据将成为受影响存储位置的当前数据。 如果在创建检查点之前发生中断,则恢复旧数据,并丢弃任何新数据。 如果在创建检查点后发生中断,则丢弃任何剩余的旧数据,并将新数据变为当前数据。 在一些实现中使用写入指示在进行中写入操作影响的位置的日志。 如果既不能全部新数据也不能恢复旧数据,则可以将预定模式写入受影响的位置。
-