Am 20.07.2011 09:56, schrieb Frediano Ziglio: > These patches mostly cleanup some AIO code using coroutines. > These patches apply to Kevin's repository, branch coroutine-block. > Mostly they use stack instead of allocated AIO structure.
I think your changes generally make sense as an example of how to convert stuff to coroutines. The thing that I'm not quite sure about is whether we should do it in qcow1, which isn't frequently used and gets relatively little testing. My main focus with qcow1 is keeping things working and maybe fixing serious bugs. Code cleanups are always a (small, but not negligible) risk of breaking things. Anyway, I'm not totally opposed to merging this, but you really need to improve the commit messages. First thing is that the subject should start with the subsystem name ("qcow: Allocate AIOCB on stack"). I'm also sure that you can be more precise than "more stack work". Please use some more lines in the commit message to explain in more detail what you're changing and ideally also why you're doing it. Kevin