阅读背景:

使用scatter-gather处理短读/写的技术?

来源:互联网 

Scatter-gather - readv()/writev()/preadv()/pwritev() - reads/writes a variable number of iovec structs in a single system call. Basically it reads/write each buffer sequentially from the 0th iovec to the Nth. However according to the documentation it can also return less on the readv/writev calls than was requested. I was wondering if there is a standard/best practice/elegant way to handle that situation.Scatter-gather - readv()/writev()/preadv()/pwri




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: