[thin_dump] --skip-mappings

This commit is contained in:
Joe Thornber
2016-03-22 15:01:37 +00:00
parent ad4fd30a27
commit 4370f048c0
4 changed files with 14 additions and 3 deletions

View File

@@ -31,7 +31,8 @@ namespace thin_provisioning {
class dump_options {
public:
dump_options()
: repair_(false) {
: repair_(false),
skip_mappings_(false) {
}
bool selected_dev(uint64_t dev_id) const {
@@ -46,6 +47,7 @@ namespace thin_provisioning {
}
bool repair_;
bool skip_mappings_;
using dev_set = std::set<uint64_t>;
using maybe_dev_set = boost::optional<dev_set>;