summaryrefslogtreecommitdiff
path: root/device_mapper/all.h
diff options
context:
space:
mode:
Diffstat (limited to 'device_mapper/all.h')
-rw-r--r--device_mapper/all.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/device_mapper/all.h b/device_mapper/all.h
index b70a8f29c..1e19add68 100644
--- a/device_mapper/all.h
+++ b/device_mapper/all.h
@@ -982,7 +982,9 @@ struct writecache_settings {
uint32_t fua;
uint32_t nofua;
uint32_t cleaner;
- uint32_t max_age;
+ uint32_t max_age; /* in milliseconds */
+ uint32_t metadata_only;
+ uint32_t pause_writeback; /* in milliseconds */
/*
* Allow an unrecognized key and its val to be passed to the kernel for
@@ -1004,6 +1006,8 @@ struct writecache_settings {
unsigned nofua_set:1;
unsigned cleaner_set:1;
unsigned max_age_set:1;
+ unsigned metadata_only_set:1;
+ unsigned pause_writeback_set:1;
};
int dm_tree_node_add_writecache_target(struct dm_tree_node *node,