Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Dec 1997 17:02:21 -0500 (EST)
From:      "John S. Dyson" <toor@dyson.iquest.net>
To:        nate@mt.sri.com (Nate Williams)
Cc:        toor@dyson.iquest.net, nate@mt.sri.com, current@FreeBSD.ORG
Subject:   Re: FYI: usage of new AIO calls
Message-ID:  <199712012202.RAA07400@dyson.iquest.net>
In-Reply-To: <199712012154.OAA12784@mt.sri.com> from Nate Williams at "Dec 1, 97 02:54:44 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
Nate Williams said:
> I wrote:
> > What is a VCHR device?
> 
> John replied:
> 
> > VCHR files are character devices that you would see the 'c' in the
> > first column for 'ls -l'.
> 
> Ahh, character special devices.  SEF also pointed this out to me right
> after I got this email.  I know what those are, but I've never heard
> them distinguished as VCHR devices.
> 
> I'm all better now, must have been too much Turkey. *grin*
> 
> > If you know what the AIO/LIO functions are for, and have software that
> 
> One more question.  AIO == Asynchronous I/O, but LIO?
> 
AIO == Asynchronous I/O.
LIO == List (directed) I/O.

LIO essentially allows for multiple AIO requests to be batched into
a single system call.  It is kind of like writev/readv, except you
can intermix read and write system calls with LIO.  With LIO, you can
specify a signal to post when it is fully done.  signanosleep(2) is
especially useful in conjunction with LIO.

-- 
John
dyson@freebsd.org
jdyson@nc.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199712012202.RAA07400>