diff options
author | Chris Mason <chris.mason@oracle.com> | 2011-08-04 14:28:36 -0400 |
---|---|---|
committer | Chris Mason <chris.mason@oracle.com> | 2011-08-05 13:48:18 -0400 |
commit | 2ab1ba68aeaecd41c4b34f0eaf1d70a37367fb1a (patch) | |
tree | 371f8ceacc858232947632eedbdb9cf9f049a8d0 /lib/checksum.c | |
parent | 0d10ee2e6deb5c8409ae65b970846344897d5e4e (diff) |
Btrfs: force unplugs when switching from high to regular priority bios
Btrfs does bio submissions from a worker thread, and each device
has a list of high priority bios and regular priority bios.
Synchronous writes go to the high priority thread while async writes
go to regular list. This commit brings back an explicit unplug
any time we switch from high to regular priority, which makes it
easier for the block layer to give us low latencies.
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'lib/checksum.c')
0 files changed, 0 insertions, 0 deletions