commit | 8ccf6f19b67f7e0921063cc309f4672a6afcb528 | [log] [tgz] |
---|---|---|
author | Miao Xie <miaox@cn.fujitsu.com> | Thu Oct 25 09:28:04 2012 +0000 |
committer | Josef Bacik <jbacik@fusionio.com> | Tue Dec 11 13:31:37 2012 -0500 |
tree | 98cd76ca5dd2e7c93adc1bd363fefaa803acc824 | |
parent | 7b398f8e58c415738e397645c926253c428cf002 [diff] |
Btrfs: make delalloc inodes be flushed by multi-task This patch introduce a new worker pool named "flush_workers", and if we want to force all the inode with pending delalloc to the disks, we can queue those inodes into the work queue of the worker pool, in this way, those inodes will be flushed by multi-task. Signed-off-by: Miao Xie <miaox@cn.fujitsu.com> Signed-off-by: Chris Mason <chris.mason@fusionio.com>