[lkml]   [2001]   [Mar]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread

On Friday, March 02, 2001 12:39:01 PM -0600 Steve Lord <> wrote:

[ file_fsync syncs all dirty buffers on the FS ]
> So it looks like fsync is going to cost more for bigger devices. Given the
> O_SYNC changes Stephen Tweedie did, couldnt fsync look more like this:
> down(&inode->i_sem);
> filemap_fdatasync(ip->i_mapping);
> fsync_inode_buffers(ip);
> filemap_fdatawait(ip->i_mapping);
> up(&inode->i_sem);

reiserfs might need to trigger a commit on fsync, so the fs specific fsync
op needs to be called. But, you should not need to call file_fsync in the
XFS fsync call (check out ext2's)

For why ide is beating scsi in this benchmark...make sure tagged queueing
is on (or increase the queue length?). For the xlog.c test posted, I would
expect scsi to get faster than ide as the size of the write increases.


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:29    [W:0.159 / U:4.568 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site