atom feed21 messages in org.freebsd.freebsd-currentRe: FYI: usage of new AIO calls
FromSent OnAttachments
John S. DysonDec 1, 1997 11:26 am 
Nate WilliamsDec 1, 1997 12:57 pm 
John S. DysonDec 1, 1997 1:02 pm 
Nate WilliamsDec 1, 1997 1:08 pm 
John S. DysonDec 1, 1997 1:24 pm 
Nate WilliamsDec 1, 1997 1:29 pm 
John S. DysonDec 1, 1997 1:49 pm 
Nate WilliamsDec 1, 1997 1:54 pm 
John S. DysonDec 1, 1997 2:02 pm 
Nate WilliamsDec 1, 1997 2:13 pm 
J WunschDec 1, 1997 2:36 pm 
Terry LambertDec 1, 1997 5:31 pm 
John S. DysonDec 1, 1997 5:54 pm 
TomDec 1, 1997 6:05 pm 
John S. DysonDec 1, 1997 6:21 pm 
Terry LambertDec 1, 1997 9:56 pm 
Terry LambertDec 1, 1997 9:59 pm 
Terry LambertDec 1, 1997 10:21 pm 
John S. DysonDec 1, 1997 11:02 pm 
Terry LambertDec 2, 1997 10:48 am 
John S. DysonDec 2, 1997 10:54 am 
Subject:Re: FYI: usage of new AIO calls
From:John S. Dyson (to@dyson.iquest.net)
Date:Dec 1, 1997 2:02:00 pm
List:org.freebsd.freebsd-current

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.