OSDN Git Service

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)
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>

No differences found