Re: [PATCH 2/3] xfs: simplify xfs_vm_releasepage

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Jun 11, 2010 at 12:13:14PM -0400, Christoph Hellwig wrote:
> Currently the xfs releasepage implementation has code to deal with converting
> delayed allocated and unwritten space.  But we never get called for those as
> we always convert delayed and unwritten space when cleaning a page, or drop
> the state from the buffers in block_invalidatepage.  We still keep a WARN_ON
> on those cases for now, but remove all the case dealing with it, which allows
> to fold xfs_page_state_convert into xfs_vm_writepage and remove the !startio
> case from the whole writeback path.
> 
> Signed-off-by: Christoph Hellwig <hch@xxxxxx>

Looks good. Couple of things:

> +
> +	/*
> +	 * VM calculation for nr_to_write seems off.  Bump it way
> +	 * up, this gets simple streaming writes zippy again.
> +	 * To be reviewed again after Jens' writeback changes.
> +	 */
> +	wbc->nr_to_write *= 4;
> +

That's gone in mainline as of as of .35-rc3. We need to get the
xfs-dev tree updated.

Otherwise, conѕider it:

Reviewed-by: Dave Chinner <dchinner@xxxxxxxxxx>

Cheers,

Dave.
-- 
Dave Chinner
david@xxxxxxxxxxxxx

_______________________________________________
xfs mailing list
xfs@xxxxxxxxxxx
http://oss.sgi.com/mailman/listinfo/xfs



[Index of Archives]     [Linux XFS Devel]     [Linux Filesystem Development]     [Filesystem Testing]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux