dm thin: direct dispatch when breaking sharing
authorJoe Thornber <ejt@redhat.com>
Wed, 15 Oct 2014 13:46:58 +0000 (14:46 +0100)
committerMike Snitzer <snitzer@redhat.com>
Mon, 10 Nov 2014 20:25:28 +0000 (15:25 -0500)
commit23ca2bb6c6104db9d4cff4e33cbabee303c49d4d
tree8864d046b4f97795c263705b8795d756c3a50131
parent2d759a46b4d65e1392843cf9df7101897af87008
dm thin: direct dispatch when breaking sharing

This use of direct submission in process_shared_bio() reduces latency
for submitting bios in the shared cell by avoiding adding those bios to
the deferred list and waiting for the next iteration of the worker.

Signed-off-by: Joe Thornber <ejt@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
drivers/md/dm-thin.c