]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite07cf29913d9c96b6123832c1f987594611f3251
tree595ef8461a5f91b3eceed4fa06b553f14ad52ca3
parent2ec7a766a7f1e9f0365b891e9934ece5152ee433
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