]> 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>
Tue, 27 May 2014 14:46:26 +0000 (10:46 -0400)
commit5ff1c0b35b7219d04ab90f02ca90902b884d41df
treebfc445ff4a689a27da2562df86d8af9767419a5a
parentcc3af2849edaf48d623ce43be5fca459520c9228
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