aboutsummaryrefslogtreecommitdiffstats
path: root/fs/jbd2/commit.c
diff options
context:
space:
mode:
authorJan Kara <[email protected]>2013-01-29 02:06:42 +0000
committerTheodore Ts'o <[email protected]>2013-01-29 02:06:42 +0000
commitfe386132f6731d02a45c380be0a3d339e6446cb5 (patch)
treeb28efc5faa2cad4823eaec0ef847a9446ef75a5b /fs/jbd2/commit.c
parentext4: Make ext4_bio_writepage() handle unprepared buffers (diff)
downloadkernel-fe386132f6731d02a45c380be0a3d339e6446cb5.tar.gz
kernel-fe386132f6731d02a45c380be0a3d339e6446cb5.zip
ext4: fix ext4_writepage() to achieve data=ordered guarantees
So far ext4_writepage() skipped writing pages that had any delayed or unwritten buffers attached. When blocksize < pagesize this breaks data=ordered mode guarantees as we can have a page with one freshly allocated buffer whose allocation is part of the committing transaction and another buffer in the page which is delayed or unwritten. So fix this problem by calling ext4_bio_writepage() anyway. It will submit mapped buffers and leave others alone. Signed-off-by: Jan Kara <[email protected]> Signed-off-by: "Theodore Ts'o" <[email protected]>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions