commit | 8594a88ba1eb47637743690f888899b7a6b63f70 | [log] [tgz] |
---|---|---|
author | Kang Kai <kai.kang@windriver.com> | Mon Aug 06 16:19:04 2012 +0800 |
committer | Wanlong Gao <gaowanlong@cn.fujitsu.com> | Mon Aug 06 17:34:49 2012 +0800 |
tree | 5b9d65fd5fe826166c773e9fed71da9137881b4a | |
parent | 0cf267165da3ed153bb84d9eb350917a27219bba [diff] |
aio_suspend/3-1: wait all aio_write complete After aio_suspend, wait all aio_write operations to complete. If don't do that, it fails with "Segmentation fault" on routerstation(mips) board randomly about in 1000 continuous test. The reason may be some aio_writes don't complete before close the file, that cause some resouse don't be released and finally cause segment fault. Signed-off-by: Kang Kai <kai.kang@windriver.com> Signed-off-by: Wanlong Gao <gaowanlong@cn.fujitsu.com>