summaryrefslogtreecommitdiff
path: root/fs/fcntl.c
diff options
context:
space:
mode:
authorJosef Bacik <josef@redhat.com>2011-04-06 14:41:34 -0400
committerJosef Bacik <josef@redhat.com>2011-04-08 13:00:39 -0400
commit1ae399382512b3e4d6c923e53da9e45935577040 (patch)
tree0c07663bf1b6bca8cb774b187f5bb85d36e372d5 /fs/fcntl.c
parent02f57c7aedef1a537f4b16db7061cdd8efa3bb4e (diff)
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: Josef Bacik <josef@redhat.com>
Diffstat (limited to 'fs/fcntl.c')
0 files changed, 0 insertions, 0 deletions