Function report |
Source Code:block\partitions\ldm.c |
Create Date:2022-07-28 17:27:47 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:ldm_create_data_partitions - Create data partitions for this device*@pp: List of the partitions parsed so far*@ldb: Cache of the database structures* The database contains ALL the partitions for ALL disk groups, so we need to
Proto:static bool ldm_create_data_partitions(struct parsed_partitions *pp, const struct ldmdb *ldb)
Type:bool
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct parsed_partitions * | pp | |
| const struct ldmdb * | ldb |
| 577 | part_num = 1 |
| 582 | If Not disk Then |
| 583 | ldm_crit("Can't find the ID of this disk in the database.") |
| 584 | Return false |
| 597 | put_partition(pp, part_num, logical_disk_start + VBLK Partition , start, size and vol_off in sectors ) |
| 599 | part_num++ |
| 603 | Return true |
| Name | Describe |
|---|---|
| ldm_partition | ldm_partition - Find out whether a device is a dynamic disk and handle it*@state: Partition check state including device holding the LDM Database* This determines whether the device @bdev is a dynamic disk and if so creates |
| Source code conversion tool public plug-in interface | X |
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |