]> git.baikalelectronics.ru Git - kernel.git/commit
Btrfs: don't traverse the ordered operation list repeatedly
authorMiao Xie <miaox@cn.fujitsu.com>
Tue, 22 Jan 2013 10:52:04 +0000 (10:52 +0000)
committerJosef Bacik <jbacik@fusionio.com>
Wed, 20 Feb 2013 14:37:24 +0000 (09:37 -0500)
commit3b4ee2d30b22ac6dcd2349551a18946973b25aa7
treedaa886d7a6caa027132a3bc9e44efbe5e75b522f
parent4bfcf236ea36d72a2bc56b1aaab1a6a3ec7e1fd0
Btrfs: don't traverse the ordered operation list repeatedly

btrfs_run_ordered_operations() needn't traverse the ordered operation list
repeatedly, it is because the transaction commiter will invoke it again when
there is no other writer in this transaction, it can ensure that no one can
add new objects into the ordered operation list.

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