diff options
Diffstat (limited to 'include/linux/device-mapper.h')
-rw-r--r-- | include/linux/device-mapper.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/device-mapper.h b/include/linux/device-mapper.h index 2e5c42346c38..499f5373e213 100644 --- a/include/linux/device-mapper.h +++ b/include/linux/device-mapper.h | |||
@@ -40,6 +40,7 @@ typedef void (*dm_dtr_fn) (struct dm_target *ti); | |||
40 | * < 0: error | 40 | * < 0: error |
41 | * = 0: The target will handle the io by resubmitting it later | 41 | * = 0: The target will handle the io by resubmitting it later |
42 | * = 1: simple remap complete | 42 | * = 1: simple remap complete |
43 | * = 2: The target wants to push back the io | ||
43 | */ | 44 | */ |
44 | typedef int (*dm_map_fn) (struct dm_target *ti, struct bio *bio, | 45 | typedef int (*dm_map_fn) (struct dm_target *ti, struct bio *bio, |
45 | union map_info *map_context); | 46 | union map_info *map_context); |
@@ -50,6 +51,7 @@ typedef int (*dm_map_fn) (struct dm_target *ti, struct bio *bio, | |||
50 | * 0 : ended successfully | 51 | * 0 : ended successfully |
51 | * 1 : for some reason the io has still not completed (eg, | 52 | * 1 : for some reason the io has still not completed (eg, |
52 | * multipath target might want to requeue a failed io). | 53 | * multipath target might want to requeue a failed io). |
54 | * 2 : The target wants to push back the io | ||
53 | */ | 55 | */ |
54 | typedef int (*dm_endio_fn) (struct dm_target *ti, | 56 | typedef int (*dm_endio_fn) (struct dm_target *ti, |
55 | struct bio *bio, int error, | 57 | struct bio *bio, int error, |
@@ -188,6 +190,7 @@ int dm_wait_event(struct mapped_device *md, int event_nr); | |||
188 | const char *dm_device_name(struct mapped_device *md); | 190 | const char *dm_device_name(struct mapped_device *md); |
189 | struct gendisk *dm_disk(struct mapped_device *md); | 191 | struct gendisk *dm_disk(struct mapped_device *md); |
190 | int dm_suspended(struct mapped_device *md); | 192 | int dm_suspended(struct mapped_device *md); |
193 | int dm_noflush_suspending(struct dm_target *ti); | ||
191 | 194 | ||
192 | /* | 195 | /* |
193 | * Geometry functions. | 196 | * Geometry functions. |