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)
commit5b947f1ba959d4b19068f687ecd39900d1eea1aa
treedaa886d7a6caa027132a3bc9e44efbe5e75b522f
parent63607cc86ab808e077a895be2d7895dcbf6f4cf3
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
This page took 0.034384 seconds and 5 git commands to generate.