]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6d2d31b3777a7c27306c9af407a0fe71d90b7852
tree2bc258fcaae4769a7b41ae71725eb073de33aded
parent418ef1da7356f09a73a88169562442fb6acd974f
ocfs2: Commit journal on sync writes

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>
fs/ocfs2/file.c