diff options
Diffstat (limited to 'lib/device/dev-cache.h')
-rw-r--r-- | lib/device/dev-cache.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/device/dev-cache.h b/lib/device/dev-cache.h index 635dc4fc9..143848d6d 100644 --- a/lib/device/dev-cache.h +++ b/lib/device/dev-cache.h @@ -77,7 +77,11 @@ int get_dm_uuid_from_sysfs(char *buf, size_t buf_size, int major, int minor); int setup_devices_file(struct cmd_context *cmd); int setup_devices(struct cmd_context *cmd); -int setup_devices_no_file_match(struct cmd_context *cmd); int setup_device(struct cmd_context *cmd, const char *devname); +/* Normal device setup functions are split up for pvscan optimization. */ +int setup_devices_for_pvscan_cache(struct cmd_context *cmd); +int setup_devname_in_dev_cache(struct cmd_context *cmd, const char *devname); +int setup_devno_in_dev_cache(struct cmd_context *cmd, dev_t devno); + #endif |