io_u_queue: add debug assert check on adding too many elements
authorJens Axboe <axboe@fb.com>
Fri, 20 Mar 2015 04:15:02 +0000 (22:15 -0600)
committerJens Axboe <axboe@fb.com>
Fri, 20 Mar 2015 04:25:35 +0000 (22:25 -0600)
commit6fb1bda0d0b61e2433f9ef34b4b979b2642d8706
tree746056b99f3d0589c76dc93199ee858f25a01ecd
parentd8f1f7d4ef536ea04a6a5fbd0399d46f69ff4e60
io_u_queue: add debug assert check on adding too many elements

Caught a bug in the io-threads branch, lets merge it into master.

Signed-off-by: Jens Axboe <axboe@fb.com>
io_u_queue.c
io_u_queue.h