diff options
author | Bryn Reeves <breeves@redhat.com> | 2006-10-03 10:15:42 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-10-03 17:04:16 +0200 |
commit | 3cb4021453a69585e458ec2177677c0c1300dccf (patch) | |
tree | cc2394e0eb52d6bed2fbc523641499714d6159c4 /include | |
parent | [PATCH] dm: use private biosets (diff) | |
download | linux-3cb4021453a69585e458ec2177677c0c1300dccf.tar.xz linux-3cb4021453a69585e458ec2177677c0c1300dccf.zip |
[PATCH] dm: extract device limit setting
Separate the setting of device I/O limits from dm_get_device(). dm-loop will
use this.
Signed-off-by: Bryn Reeves <breeves@redhat.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/device-mapper.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/device-mapper.h b/include/linux/device-mapper.h index 8cbc46b8e3db..7a48d428d0a1 100644 --- a/include/linux/device-mapper.h +++ b/include/linux/device-mapper.h @@ -72,6 +72,11 @@ typedef int (*dm_ioctl_fn) (struct dm_target *ti, struct inode *inode, void dm_error(const char *message); /* + * Combine device limits. + */ +void dm_set_device_limits(struct dm_target *ti, struct block_device *bdev); + +/* * Constructors should call these functions to ensure destination devices * are opened/closed correctly. * FIXME: too many arguments. |