]> git.karo-electronics.de Git - karo-tx-linux.git/commit
dm: introduce dm_accept_partial_bio
authorMikulas Patocka <mpatocka@redhat.com>
Fri, 14 Mar 2014 22:41:24 +0000 (18:41 -0400)
committerMike Snitzer <snitzer@redhat.com>
Wed, 14 May 2014 20:12:25 +0000 (16:12 -0400)
commit2af14b1abc1fc36e2f59262e42d101182664a7a4
treed0ad55ec418df85d12b344075aeb4d1517bd2800
parent6397842ddac5979603ab4aaa294180e055c859e2
dm: introduce dm_accept_partial_bio

The function dm_accept_partial_bio allows the target to specify how many
sectors of the current bio it will process.  If the target only wants to
accept part of the bio, it calls dm_accept_partial_bio and the DM core
sends the rest of the data in next bio.

Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
drivers/md/dm.c
include/linux/device-mapper.h