System and method for writing data using pram
暂无分享,去创建一个
PURPOSE: A data recording system which uses a phase-change random access memory(PRAM) and a method thereof are provided to maintain consistency of a system by supporting block atomicity. CONSTITUTION: The ratio of modified data information which is determined by corrected block data information is checked(S110). The modified data information is logged in a log block(S120). The modified data information is recorded in an intrinsic block(S130). Data of a specific sub block of the intrinsic block is logged in the log block(S220). The modified data information is logged in the specific sub block(S230). The corrected block data information is logged in the shadow block when the ratio of the modified data information is greater than a predetermined ratio by the corrected block data information(S320).