Btrfs: tag pages for writeback in sync
authorJosef Bacik <josef@redhat.com>
Fri, 15 Jul 2011 21:26:38 +0000 (21:26 +0000)
committerChris Mason <chris.mason@oracle.com>
Wed, 27 Jul 2011 16:46:44 +0000 (12:46 -0400)
commitf7aaa06bff6f5fe049ce9723267e1639c2c3d8b5
treed3b5e20709a91f4bc473a898e37531f322a1bc6c
parent9e0baf60dea69f31ac3b1adeb35b03b02a53e8e1
Btrfs: tag pages for writeback in sync

Everybody else does this, we need to do it too.  If we're syncing, we need to
tag the pages we're going to write for writeback so we don't end up writing the
same stuff over and over again if somebody is constantly redirtying our file.
This will keep us from having latencies with heavy sync workloads.  Thanks,

Signed-off-by: Josef Bacik <josef@redhat.com>
Signed-off-by: Chris Mason <chris.mason@oracle.com>
fs/btrfs/extent_io.c