]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
Revert "Btrfs: do not do filemap_write_and_wait_range in fsync"
authorMiao Xie <miaox@cn.fujitsu.com>
Thu, 13 Sep 2012 10:53:47 +0000 (04:53 -0600)
committerChris Mason <chris.mason@fusionio.com>
Mon, 1 Oct 2012 19:19:22 +0000 (15:19 -0400)
commit90abccf2c6e6e9c5a5d519eaed95292afa30aa11
treedbdbb66fdb27c29597b6cc1c65f533420455d6af
parent698d0082c4875a2ccc10b52ee8f415faad46b754
Revert "Btrfs: do not do filemap_write_and_wait_range in fsync"

This reverts commit 0885ef5b5601e9b007c383e77c172769b1f214fd

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: Miao Xie <miaox@cn.fujitsu.com>
fs/btrfs/file.c