diff options
Diffstat (limited to 'drivers/md/dm-thin-metadata.h')
-rw-r--r-- | drivers/md/dm-thin-metadata.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/drivers/md/dm-thin-metadata.h b/drivers/md/dm-thin-metadata.h index e3c857db195a..921d15ee56a0 100644 --- a/drivers/md/dm-thin-metadata.h +++ b/drivers/md/dm-thin-metadata.h | |||
@@ -139,12 +139,12 @@ struct dm_thin_lookup_result { | |||
139 | 139 | ||
140 | /* | 140 | /* |
141 | * Returns: | 141 | * Returns: |
142 | * -EWOULDBLOCK iff @can_block is set and would block. | 142 | * -EWOULDBLOCK iff @can_issue_io is set and would issue IO |
143 | * -ENODATA iff that mapping is not present. | 143 | * -ENODATA iff that mapping is not present. |
144 | * 0 success | 144 | * 0 success |
145 | */ | 145 | */ |
146 | int dm_thin_find_block(struct dm_thin_device *td, dm_block_t block, | 146 | int dm_thin_find_block(struct dm_thin_device *td, dm_block_t block, |
147 | int can_block, struct dm_thin_lookup_result *result); | 147 | int can_issue_io, struct dm_thin_lookup_result *result); |
148 | 148 | ||
149 | /* | 149 | /* |
150 | * Obtain an unused block. | 150 | * Obtain an unused block. |
@@ -213,6 +213,11 @@ int dm_pool_register_metadata_threshold(struct dm_pool_metadata *pmd, | |||
213 | int dm_pool_metadata_set_needs_check(struct dm_pool_metadata *pmd); | 213 | int dm_pool_metadata_set_needs_check(struct dm_pool_metadata *pmd); |
214 | bool dm_pool_metadata_needs_check(struct dm_pool_metadata *pmd); | 214 | bool dm_pool_metadata_needs_check(struct dm_pool_metadata *pmd); |
215 | 215 | ||
216 | /* | ||
217 | * Issue any prefetches that may be useful. | ||
218 | */ | ||
219 | void dm_pool_issue_prefetches(struct dm_pool_metadata *pmd); | ||
220 | |||
216 | /*----------------------------------------------------------------*/ | 221 | /*----------------------------------------------------------------*/ |
217 | 222 | ||
218 | #endif | 223 | #endif |