Btrfs: don't flush the delalloc inodes in the while loop if flushoncommit is set
authorMiao Xie <miaox@cn.fujitsu.com>
Wed, 15 May 2013 07:48:28 +0000 (07:48 +0000)
committerJosef Bacik <jbacik@fusionio.com>
Fri, 14 Jun 2013 15:29:47 +0000 (11:29 -0400)
It is unnecessary to flush the delalloc inodes again and again because
we don't care the dirty pages which are introduced after the flush, and
they will be flush in the transaction commit.

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

Simple merge