AsyncIO::initializeContext() should provide more debug output when io_queue_init...
authorAltan Alpay <nerd@fb.com>
Thu, 12 Sep 2013 21:08:01 +0000 (14:08 -0700)
committerJordan DeLong <jdelong@fb.com>
Sun, 22 Sep 2013 23:40:13 +0000 (16:40 -0700)
commit5af17ef1bca56aa570d383daf78d1185419d76ba
treec1360d944680a0109f9b382aba0906728b46d034
parent6e442037ad5785ab984bd488d39c7feadc27853d
AsyncIO::initializeContext() should provide more debug output when io_queue_init fails

Summary: It would be good idea to provide more information if the io_queue_init() failed due to resource allocation.

Test Plan:
Run standart tests + manual testing
1. fbconfig -r folly/experimental/ && fbmake runtests
2. Ask a capacity larger than aio_max_nr and check failure messages

Reviewed By: agartrell@fb.com

FB internal diff: D965260
folly/experimental/io/AsyncIO.cpp