tech-kern archive

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

Re: vectorized fsyncv(2) syscall -- useful?



On Fri, Oct 09, 2009 at 08:45:49PM +0000, Edward B. DREGER wrote:
> readv(2)/writev(2) are the vectorized forms of read(2)/write(2).  They
> exist to reduce the number of context switches required when dealing
> with batches of IO.
> 
> I think that it would be both useful and trivial to add an fsyncv(2)
> syscall to src/sys/kern/vfs_syscalls.c.  I'm thinking along the lines
> of:

Why? What is wrong with just calling fsync or fsync_range()?

More to the point, what app needs this to perform well?

Take care,

Bill

Attachment: pgpxDt3ma4mHl.pgp
Description: PGP signature



Home | Main Index | Thread Index | Old Index