|
@@ -60,6 +60,7 @@ int dm_table_resume_targets(struct dm_table *t);
|
|
|
int dm_table_any_congested(struct dm_table *t, int bdi_bits);
|
|
int dm_table_any_congested(struct dm_table *t, int bdi_bits);
|
|
|
int dm_table_any_busy_target(struct dm_table *t);
|
|
int dm_table_any_busy_target(struct dm_table *t);
|
|
|
unsigned dm_table_get_type(struct dm_table *t);
|
|
unsigned dm_table_get_type(struct dm_table *t);
|
|
|
|
|
+struct target_type *dm_table_get_immutable_target_type(struct dm_table *t);
|
|
|
bool dm_table_request_based(struct dm_table *t);
|
|
bool dm_table_request_based(struct dm_table *t);
|
|
|
bool dm_table_supports_discards(struct dm_table *t);
|
|
bool dm_table_supports_discards(struct dm_table *t);
|
|
|
int dm_table_alloc_md_mempools(struct dm_table *t);
|
|
int dm_table_alloc_md_mempools(struct dm_table *t);
|
|
@@ -72,6 +73,7 @@ void dm_lock_md_type(struct mapped_device *md);
|
|
|
void dm_unlock_md_type(struct mapped_device *md);
|
|
void dm_unlock_md_type(struct mapped_device *md);
|
|
|
void dm_set_md_type(struct mapped_device *md, unsigned type);
|
|
void dm_set_md_type(struct mapped_device *md, unsigned type);
|
|
|
unsigned dm_get_md_type(struct mapped_device *md);
|
|
unsigned dm_get_md_type(struct mapped_device *md);
|
|
|
|
|
+struct target_type *dm_get_immutable_target_type(struct mapped_device *md);
|
|
|
|
|
|
|
|
int dm_setup_md_queue(struct mapped_device *md);
|
|
int dm_setup_md_queue(struct mapped_device *md);
|
|
|
|
|
|