ocfs2: Commit journal on sync writes
authorMark Fasheh <mark.fasheh@oracle.com>
Thu, 18 Oct 2007 21:14:45 +0000 (14:14 -0700)
committerMark Fasheh <mark.fasheh@oracle.com>
Tue, 6 Nov 2007 23:32:00 +0000 (15:32 -0800)
We're missing a meta data commit for extending sync writes. In thoery, write
could return with the meta data required to read the data uncommitted to
disk. Fix that by detecting an allocating write and forcing a journal commit
in the sync case.

Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>

No differences found