commit | 64c5621e219e30d420d5602643fedcb3e3ff710f | [log] [tgz] |
---|---|---|
author | Yan Lei <yanl.fnst@cn.fujitsu.com> | Tue Feb 05 15:33:05 2013 +0800 |
committer | Cyril Hrubis <chrubis@suse.cz> | Tue Feb 05 12:49:26 2013 +0100 |
tree | c9df16b88dc7b322f59928fb748a846b11b0bdc8 | |
parent | 4d1cf776b9134f0e592c67d4355ed207bf50d903 [diff] |
fix race at exit by checking if write completed The same issue as: commit 352358cd9f69f6e8296cc201b14bae938287796e Author: Jan Stancek <jstancek@redhat.com> Date: Mon, 28 Jan 2013 11:36:48 +0100 aio_fsync/2-1.c: fix race at exit, check if write completed This patch waits for aio_fsync to complete and after that checks that previously queued write is also completed. Signed-off-by: Yan Lei <yanl.fnst@cn.fujitsu.com> Acked-by: Jan Stancek <jstancek@redhat.com>