diff options
author | NeilBrown <neilb@suse.de> | 2011-01-13 20:00:02 +0000 |
---|---|---|
committer | Alasdair G Kergon <agk@redhat.com> | 2011-01-13 20:00:02 +0000 |
commit | 99d03c141b40914b67d63c9d23b8da4386422ed7 (patch) | |
tree | d9c2d4da01f749325fac949d96e35aedea05cfc4 /include/linux/device-mapper.h | |
parent | 9d357b0787bb3c91835d5e658c3bda178f9ca419 (diff) | |
download | linux-stable-99d03c141b40914b67d63c9d23b8da4386422ed7.tar.gz linux-stable-99d03c141b40914b67d63c9d23b8da4386422ed7.tar.bz2 linux-stable-99d03c141b40914b67d63c9d23b8da4386422ed7.zip |
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 { struct dm_target_callbacks { struct list_head list; int (*congested_fn) (struct dm_target_callbacks *, int); + void (*unplug_fn)(struct dm_target_callbacks *); }; int dm_register_target(struct target_type *t); |