commit | 86df7eb921a009515285e7171363fa57dd2d7d31 | [log] [tgz] |
---|---|---|
author | Yan, Zheng <zheng.yan@oracle.com> | Wed Oct 14 09:24:59 2009 -0400 |
committer | Chris Mason <chris.mason@oracle.com> | Wed Oct 14 10:32:48 2009 -0400 |
tree | 884e8cda2535dc43cf57ce9fa273381b827d2f4f | |
parent | 5d5e103a70f74ae98e3965a4add1ab951d0651d1 [diff] |
Btrfs: properly wait log writers during log sync A recently fsync optimization make btrfs_sync_log skip calling wait_for_writer in the single log writer case. This is incorrect since the writer count can also be increased by btrfs_pin_log. Signed-off-by: Yan Zheng <zheng.yan@oracle.com> Signed-off-by: Chris Mason <chris.mason@oracle.com>