• J
    f2fs: handle writepage correctly · b230e6ca
    Jaegeuk Kim 提交于
    Previously, f2fs_write_data_pages() calls __f2fs_writepage() which calls
    f2fs_write_data_page().
    If f2fs_write_data_page() returns AOP_WRITEPAGE_ACTIVATE, __f2fs_writepage()
    calls mapping_set_error(). But, this should not happen at every time, since
    sometimes f2fs_write_data_page() tries to skip writing pages without error.
    For example, volatile_write() gives EIO all the time, as Shuoran Liu pointed
    out.
    Reported-by: NShuoran Liu <liushuoran@huawei.com>
    Signed-off-by: NJaegeuk Kim <jaegeuk@kernel.org>
    b230e6ca
data.c 42.7 KB