]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0f4c391f92954d8a900e7c2f7acc8df49166ca47
treed3b5e20709a91f4bc473a898e37531f322a1bc6c
parent72cb6cb730867af7fce40ff3633bb6e08a9f69d1
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