RFC:: [PATCH 1 of 3] dm-exception-store API
brassow
Creation of dm-exception-store.h
Pull structures that bridge the gap between snapshot and exception store out of dm-snap.h and put them in a new .h file - dm-exception-store.h. This file will define the API for new exception stores.
My hope is to eventually get rid of dm-snap.h, since only one file should need to include it (dm-snap.c).
drivers/md/dm-exception-store.c +1 -0
@@ -7,6 +7,7 @@* This file is released under the GPL. */ +#include "dm-exception-store.h" #include "dm-snap.h" #include <linux/mm.h>
drivers/md/dm-exception-store.h new file +134 -0
134 lines not on this page · raw message
drivers/md/dm-snap.c +1 -0
@@ -20,6 +20,7 @@#include <linux/log2.h> #include <linux/dm-kcopyd.h> +#include "dm-exception-store.h" #include "dm-snap.h" #include "dm-bio-list.h"
drivers/md/dm-snap.h +0 -118
130 lines not on this page · raw message