+2
−1
+124
−0
+15
−0
Loading
hulk inclusion category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/I9DN5Z CVE: NA -------------------------------- iomap_file_buffered_write will always call iomap_iter to find the iomap for buffer io, and then call iomap_write_iter to get and fill the folio, which is quiet complicated compare to generic_perform_write. Unixbench test for ext4 show this with a performance degradation since we switch buffer io for ext4 to iomap. Fix it by support .write_begin and .write_end, and for the case write range has already been mark as dirty, no need to get the iomap. Signed-off-by:Yang Erkun <yangerkun@huawei.com>