commit | 0b7fdba72ade6f642cc0bf86023a42a408544599 | [log] [tgz] |
---|---|---|
author | Dan Ehrenberg <dehrenberg@google.com> | Sat Jul 23 13:36:46 2011 +0200 |
committer | Jens Axboe <jaxboe@fusionio.com> | Sat Jul 23 13:36:46 2011 +0200 |
tree | 78873794ec8126b4773f9b58f147bbdcb66e1fc4 | |
parent | 1f84f1d9f85fe17c83eba504e4fb9b09a082e517 [diff] |
Libaio engine support for iodepth_batch_complete=0 Previously, even if iodepth_batch_complete=0, the libaio engine passed in non-zero values for the min_nr value for io_getevents. This patch makes min_nr always 0 if iodepth_batch_complete == 0, and if multiple events are required at a higher level, then we poll io_getevents multiple times for the events. Signed-off-by: Dan Ehrenberg <dehrenberg@google.com> Signed-off-by: Jens Axboe <jaxboe@fusionio.com>