Btrfs: make ordered extent be flushed by multi-task
authorMiao Xie <miaox@cn.fujitsu.com>
Thu, 25 Oct 2012 09:41:36 +0000 (09:41 +0000)
committerJosef Bacik <jbacik@fusionio.com>
Tue, 11 Dec 2012 18:31:38 +0000 (13:31 -0500)
commit9afab8820bb8b55af669b199597d6716e04d1ba8
treecdd61b6cefaa048dc140835cb08b2ee40d67f37d
parent25287e0a16c0ad068aa89ab01aea6c699b31ec12
Btrfs: make ordered extent be flushed by multi-task

Though the process of the ordered extents is a bit different with the delalloc inode
flush, but we can see it as a subset of the delalloc inode flush, so we also handle
them by flush workers.

Signed-off-by: Miao Xie <miaox@cn.fujitsu.com>
Signed-off-by: Chris Mason <chris.mason@fusionio.com>
fs/btrfs/ordered-data.c
fs/btrfs/ordered-data.h