Btrfs: traverse and flush the delalloc inodes once
authorMiao Xie <miaox@cn.fujitsu.com>
Tue, 22 Jan 2013 10:50:35 +0000 (10:50 +0000)
committerJosef Bacik <jbacik@fusionio.com>
Wed, 20 Feb 2013 14:37:23 +0000 (09:37 -0500)
commit63607cc86ab808e077a895be2d7895dcbf6f4cf3
tree595ef8461a5f91b3eceed4fa06b553f14ad52ca3
parenteebc60840636e7351371fc17bcd057384bf0c16a
Btrfs: traverse and flush the delalloc inodes once

btrfs_start_delalloc_inodes() needn't traverse and flush the delalloc inodes
repeatedly. It is because we can regard the data that the users write after
we start delalloc inodes flush as the one which is after the delalloc inodes
flush is done, and we can flush it next time.

Signed-off-by: Miao Xie <miaox@cn.fujitsu.com>
Signed-off-by: Josef Bacik <jbacik@fusionio.com>
fs/btrfs/inode.c