]> 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)
commit384f705437145a79ff512c3e7b06c7904327917d
treedaa886d7a6caa027132a3bc9e44efbe5e75b522f
parente07cf29913d9c96b6123832c1f987594611f3251
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