1DISK_REPLACE_PART_TB(9)          Block Devices         DISK_REPLACE_PART_TB(9)
2
3
4

NAME

6       disk_replace_part_tbl - replace disk->part_tbl in RCU-safe way
7

SYNOPSIS

9       void disk_replace_part_tbl(struct gendisk * disk,
10                                  struct disk_part_tbl * new_ptbl);
11

ARGUMENTS

13       disk
14           disk to replace part_tbl for
15
16       new_ptbl
17           new part_tbl to install
18

DESCRIPTION

20       Replace disk->part_tbl with new_ptbl in RCU-safe way. The original ptbl
21       is freed using RCU callback.
22

LOCKING

24       Matching bd_mutx locked.
25
27Kernel Hackers Manual 2.6.         June 2019           DISK_REPLACE_PART_TB(9)
Impressum