]> 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)
commit4bfcf236ea36d72a2bc56b1aaab1a6a3ec7e1fd0
tree595ef8461a5f91b3eceed4fa06b553f14ad52ca3
parent1c3a79693ae90b9f917f5adc18252ff33d79ce86
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