Il 28/03/2013 22:52, Anthony Liguori ha scritto: > This allows us to pass NULL for io_flush by removing the aio > event when no requests are pending. > > Signed-off-by: Anthony Liguori <aligu...@us.ibm.com> > --- > block/rbd.c | 25 ++++++++++++++++--------- > 1 file changed, 16 insertions(+), 9 deletions(-)
I'm not sure why this is an improvement? io_flush is basically the same as the io_can_read handler. Paolo