Weitere ähnliche Inhalte
Ähnlich wie MySQL aio (20)
MySQL aio
- 17. 好处与前提 最耗时的os i/o操作,io thread不会持有mutex,减少了mutex争用 read/write aio array里存在多个segments,提高了并发 os_aio_read_array os_aio_write_array 前提:一个io线程只能操作对应的一个segment,其它io线程无法访问这个segment
- 18. aio的生产者 Fil_io /* Queue the aio request */ ret = os_aio(type, mode | wake_later, node->name, node->handle, buf,offset_low, offset_high, len, node, message);