摘要:
做项目要修改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 阅读全文