Btrfs: run the backing dev more often in the submit_bio helper
authorChris Mason <chris.mason@oracle.com>
Wed, 10 Mar 2010 20:33:32 +0000 (15:33 -0500)
committerChris Mason <chris.mason@oracle.com>
Mon, 15 Mar 2010 15:00:09 +0000 (11:00 -0400)
commit51684082b11c304829ea22193d4d96a5b1663b97
treecfe13e6789c90a817392af490b23a89e7924cbaf
parent4849f01d153be0f52b8191ee1be0ce492aa96811
Btrfs: run the backing dev more often in the submit_bio helper

The submit_bio helper thread can decide to loop back around to
service more bios.  This commit forces it to unplug first, which helps
reduce the latency seen by submitters.

Signed-off-by: Chris Mason <chris.mason@oracle.com>
fs/btrfs/volumes.c