US 11,868,631 B2
System startup method and related device
Chen Gong, Wuhan (CN); Biao He, Shanghai (CN); Chao Yu, Shenzhen (CN); and Wei Fang, Hangzhou (CN)
Assigned to HUAWEI TECHNOLOGIES CO., LTD., Shenzhen (CN)
Appl. No. 17/626,331
Filed by Huawei Technologies Co., Ltd., Shenzhen (CN)
PCT Filed Jul. 9, 2020, PCT No. PCT/CN2020/100972
§ 371(c)(1), (2) Date Jan. 11, 2022,
PCT Pub. No. WO2021/008425, PCT Pub. Date Jan. 21, 2021.
Claims priority of application No. 201910631422.1 (CN), filed on Jul. 12, 2019; and application No. 201910917908.1 (CN), filed on Sep. 26, 2019.
Prior Publication US 2022/0269428 A1, Aug. 25, 2022
Int. Cl. G06F 3/06 (2006.01)
CPC G06F 3/0632 (2013.01) [G06F 3/0619 (2013.01); G06F 3/0644 (2013.01); G06F 3/0659 (2013.01); G06F 3/0673 (2013.01)] 20 Claims
OG exemplary drawing
 
1. A method comprising:
creating, by calling a first function, a first thread when a kernel driver in a kernel mode detects a first disk partition;
calling a second function to obtain a first block pointer, wherein the first block pointer is a block device structure pointer corresponding to the first disk partition;
enabling the first disk partition based on the first block pointer;
reading, in the kernel mode, metadata of the first disk partition using the first thread; and
writing the metadata into a first page cache using the first thread.