]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
dm: introduce merge_bvec_fn
authorMilan Broz <mbroz@redhat.com>
Mon, 21 Jul 2008 11:00:37 +0000 (12:00 +0100)
committerAlasdair G Kergon <agk@redhat.com>
Mon, 21 Jul 2008 11:00:37 +0000 (12:00 +0100)
commitf6fccb1213ba3d661baeb2a5eee0a9701dc03e1b
tree456671e791f8a61b40e0d622591b902ca1351ae7
parent92e868122edf08b9fc06b112e7e0c80ab94c1f93
dm: introduce merge_bvec_fn

Introduce a bvec merge function for device mapper devices
for dynamic size restrictions.

This code ensures the requested biovec lies within a single
target and then calls a target-specific function to check
against any constraints imposed by underlying devices.

Signed-off-by: Milan Broz <mbroz@redhat.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
drivers/md/dm.c
include/linux/device-mapper.h
include/linux/dm-ioctl.h