summaryrefslogtreecommitdiffstats
path: root/fs/notify
diff options
context:
space:
mode:
authorJan Kara <jack@suse.cz>2013-01-28 15:32:54 +0100
committerTheodore Ts'o <tytso@mit.edu>2013-01-28 15:32:54 +0100
commit1ae48a6354a364413d372df1525d523a3fb4fb8c (patch)
tree626a676b8271a404f4451f2948c9f71a4078609f /fs/notify
parentext4: Always use ext4_bio_write_page() for writeout (diff)
downloadlinux-1ae48a6354a364413d372df1525d523a3fb4fb8c.tar.xz
linux-1ae48a6354a364413d372df1525d523a3fb4fb8c.zip
ext4: use redirty_page_for_writepage() in ext4_bio_write_page()
When we cannot write a page we should use redirty_page_for_writepage() instead of plain set_page_dirty(). That tells writeback code we have problems, redirties only the page (redirtying buffers is not needed), and updates mm accounting of failed page writes. Also move clearing of buffer dirty flag after io_submit_add_bh(). At that moment we are sure buffer will be going to disk. Signed-off-by: Jan Kara <jack@suse.cz> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'fs/notify')
0 files changed, 0 insertions, 0 deletions