Skip to content
Commit 90abccf2 authored by Miao Xie's avatar Miao Xie Committed by Chris Mason
Browse files

Revert "Btrfs: do not do filemap_write_and_wait_range in fsync"

This reverts commit 0885ef5b



After applying the above patch, the performance slowed down because the dirty
page flush can only be done by one task, so revert it.

The following is the test result of sysbench:
	Before		After
	24MB/s		39MB/s

Signed-off-by: default avatarMiao Xie <miaox@cn.fujitsu.com>
parent 698d0082
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment