]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2c883d5e28ab3463025c1aee2a20de6f4d3b5455
tree973dcc26b4af6720102522027132fc4d8545c9c6
parenteeb8cb780577c609edce422f2a077fc506278332
Btrfs: don't flush the delalloc inodes in the while loop if flushoncommit is set

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