Asynchronous I/O latency to a solid-state disk greatly increased
between the 2.6.32 and 3.0 kernels. By removing the plug from
do_io_submit(), we observed a 34% improvement in the I/O latency.
Signed-off-by: Dave Kleikamp <dave.kleikamp@oracle.com>
struct kioctx *ctx;
long ret = 0;
int i;
- struct blk_plug plug;
if (unlikely(nr < 0))
return -EINVAL;
return -EINVAL;
}
- blk_start_plug(&plug);
-
/*
* AKPM: should this return a partial result if some of the IOs were
* successfully submitted?
if (ret)
break;
}
- blk_finish_plug(&plug);
put_ioctx(ctx);
return i ? i : ret;