spi-topcliff-pch: add recovery processing in case wait-event timeout
[zen-stable.git] / drivers / md / persistent-data / dm-space-map-checker.h
blob444dccf6688c2f07f44e45edaf7efd5392654896
1 /*
2 * Copyright (C) 2011 Red Hat, Inc.
4 * This file is released under the GPL.
5 */
7 #ifndef SNAPSHOTS_SPACE_MAP_CHECKER_H
8 #define SNAPSHOTS_SPACE_MAP_CHECKER_H
10 #include "dm-space-map.h"
12 /*----------------------------------------------------------------*/
15 * This space map wraps a real on-disk space map, and verifies all of its
16 * operations. It uses a lot of memory, so only use if you have a specific
17 * problem that you're debugging.
19 * Ownership of @sm passes.
21 struct dm_space_map *dm_sm_checker_create(struct dm_space_map *sm);
22 struct dm_space_map *dm_sm_checker_create_fresh(struct dm_space_map *sm);
24 /*----------------------------------------------------------------*/
26 #endif