diff options
author | NeilBrown <neilb@suse.de> | 2011-01-13 15:00:02 -0500 |
---|---|---|
committer | Alasdair G Kergon <agk@redhat.com> | 2011-01-13 15:00:02 -0500 |
commit | 99d03c141b40914b67d63c9d23b8da4386422ed7 (patch) | |
tree | d9c2d4da01f749325fac949d96e35aedea05cfc4 /include/linux/device-mapper.h | |
parent | 9d357b0787bb3c91835d5e658c3bda178f9ca419 (diff) |
dm: per target unplug callback support
Add per-target unplug callback support.
Cc: linux-raid@vger.kernel.org
Signed-off-by: NeilBrown <neilb@suse.de>
Signed-off-by: Jonathan Brassow <jbrassow@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
Diffstat (limited to 'include/linux/device-mapper.h')
-rw-r--r-- | include/linux/device-mapper.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/device-mapper.h b/include/linux/device-mapper.h index 4b1c63d478ab..272496d1fae4 100644 --- a/include/linux/device-mapper.h +++ b/include/linux/device-mapper.h | |||
@@ -197,6 +197,7 @@ struct dm_target { | |||
197 | struct dm_target_callbacks { | 197 | struct dm_target_callbacks { |
198 | struct list_head list; | 198 | struct list_head list; |
199 | int (*congested_fn) (struct dm_target_callbacks *, int); | 199 | int (*congested_fn) (struct dm_target_callbacks *, int); |
200 | void (*unplug_fn)(struct dm_target_callbacks *); | ||
200 | }; | 201 | }; |
201 | 202 | ||
202 | int dm_register_target(struct target_type *t); | 203 | int dm_register_target(struct target_type *t); |