summaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2011-01-13 20:00:02 +0000
committerAlasdair G Kergon <agk@redhat.com>2011-01-13 20:00:02 +0000
commit99d03c141b40914b67d63c9d23b8da4386422ed7 (patch)
treed9c2d4da01f749325fac949d96e35aedea05cfc4 /include/linux
parent9d357b0787bb3c91835d5e658c3bda178f9ca419 (diff)
downloadtalos-obmc-linux-99d03c141b40914b67d63c9d23b8da4386422ed7.tar.gz
talos-obmc-linux-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')
-rw-r--r--include/linux/device-mapper.h1
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);
OpenPOWER on IntegriCloud