]> git.kernelconcepts.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>
Tue, 3 Jun 2014 17:44:06 +0000 (13:44 -0400)
commit1dd40c3ecd9b8a4ab91dbf2e6ce10b82a3b5ae63
treea1473eb0643c544ac9efa13911d6119a8078ed60
parente0d6609a5fe34463ae2fd48d846931f70de8b37b
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