SYNC I/O only in SPDK NVME support?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I read NVMEDevice.cc code. However, one thing I am not quite sure of why aio_submit is waiting for all IO finished before it returns. This implies that any AIO thread does the IO in sync mode. 

Looking at the following code path:
aio_submit -> _aio_handle, inside _aio_handle, the code loop and wait if num_running > 0.

Is my reading correct? Is this intentional? If so, why?

Appreciate if someone can help me understand this.

--
-Howard
_______________________________________________
Dev mailing list -- dev@xxxxxxx
To unsubscribe send an email to dev-leave@xxxxxxx

[Index of Archives]     [CEPH Users]     [Ceph Devel]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux