| CPC G06F 12/0246 (2013.01) [G06F 16/11 (2019.01); G06F 2212/7201 (2013.01)] | 13 Claims |

|
1. A method of updating a file in a file system using a remap command, the method comprising:
placing, by at least one processor, a new block in a cold segment and an update block in a hot segment, and performing sequential write respectively on the new block and the update block;
updating, by the at least one processor, a page mapping table by mapping a logical page number newly allocated to a new block position in the hot segment where the update block is written and a physical page number newly allocated corresponding thereto; and
modifying, by the at least one processor, the page mapping table by applying the remap command to remap the logical page number newly allocated to the update block to a logical page number previously allocated before the update block is updated.
|