Re: [PATCH] Btrfs: tag pages for writeback in sync

2011-07-15 Thread Josef Bacik
On 07/15/2011 05:50 PM, Christoph Hellwig wrote: On Fri, Jul 15, 2011 at 05:26:38PM -0400, Josef Bacik wrote: 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 aga

Re: [PATCH] Btrfs: tag pages for writeback in sync

2011-07-15 Thread Christoph Hellwig
On Fri, Jul 15, 2011 at 05:26:38PM -0400, Josef Bacik wrote: > 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

[PATCH] Btrfs: tag pages for writeback in sync

2011-07-15 Thread Josef Bacik
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 workloa