US 12,455,816 B2
Method and system for updating file in file system using a remap command
Sang-Won Lee, Gyeonggi-do (KR); Jonghyeok Park, Gyeonggi-do (KR); Young Ik Eom, Gyeonggi-do (KR); Dongkun Shin, Gyeonggi-do (KR); and Yongmyung Lee, Gyeonggi-do (KR)
Assigned to RESEARCH & BUSINESS FOUNDATION SUNGKYUNKWAN UNIVERSITY, Suwon-si (KR)
Filed by RESEARCH & BUSINESS FOUNDATION SUNGKYUNKWAN UNIVERSITY, Suwon-si (KR)
Filed on Aug. 2, 2023, as Appl. No. 18/364,042.
Claims priority of application No. 10-2023-0003527 (KR), filed on Jan. 10, 2023.
Prior Publication US 2024/0232069 A1, Jul. 11, 2024
Int. Cl. G06F 12/02 (2006.01); G06F 16/11 (2019.01)
CPC G06F 12/0246 (2013.01) [G06F 16/11 (2019.01); G06F 2212/7201 (2013.01)] 13 Claims
OG exemplary drawing
 
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.