Commit 2b1c6d7a authored by Mikulas Patocka's avatar Mikulas Patocka
Browse files

dm: optimize REQ_PREFLUSH with data when using the linear target



If the table has only linear targets and there is just one underlying
device, we can optimize REQ_PREFLUSH with data - we don't have to split
it to two bios - a flush and a write. We can pass it to the linear target
directly.

Signed-off-by: default avatarMikulas Patocka <mpatocka@redhat.com>
Tested-by: default avatarBart Van Assche <bvanassche@acm.org>
Reviewed-by: default avatarBart Van Assche <bvanassche@acm.org>
parent 4466dd3d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment