On Mon, Jun 08, 2009 at 04:50:47PM +0900, Hisashi Hifumi wrote:
> Hi.
> 
> In btrfs, fdatasync and fsync are identical.
> I think fdatasync should skip committing transaction when 
> inode->i_state is set just I_DIRTY_SYNC and this indicates
> only atime or/and mtime updates.
> Following patch improves fdatasync throughput.
> 
> #sysbench --num-threads=16 --max-requests=10000 --test=fileio 
> --file-block-size=4K --file-total-size=16G --file-test-mode=rndwr 
> --file-fsync-mode=fdatasync run 

Very nice, thank you for the patch.

-chris
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to