摘要: 做项目要修改blktap中block-sync.c 的tdsync_queue_write函数在用write向镜像写入自己新分配的buffer数据时报错 errno 为22参考write函数错误号发现EINVALfdis attached to an object which is unsuitable for writing; or the file was opened with theO_DIRECTflag, and either the address specified inbuf, the value specified incount, or the current file 阅读全文
posted @ 2012-05-25 23:32 Macworld 阅读(180) 评论(2) 推荐(0) 编辑