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 |
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.
|