Skip to content
Commit 1ae39938 authored by Josef Bacik's avatar Josef Bacik
Browse files

Btrfs: do not use async submit for small DIO io's



When looking at our DIO performance Chris said that for small IO's doing the
async submit stuff tends to be more overhead than it's worth.  With this on top
of my other fixes I get about a 17-20% speedup doing a sequential dd with 4k
IO's.  Basically if we don't have to split the bio for the map length it's small
enough to be directly submitted, otherwise go back to the async submit.  Thanks,

Signed-off-by: default avatarJosef Bacik <josef@redhat.com>
parent 02f57c7a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment