+35
−3
Loading
hulk inclusion category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/I9DN5Z CVE: NA -------------------------------- When doing buffered write, we set uptodate and drity bits of the written range separately, it holds the ifs->state_lock twice when blocksize < folio size, which is redundant. After large folio is supported, the spinlock could affect more about the performance, merge them could reduce some unnecessary locking overhead and gets some performance gain. Suggested-by:Dave Chinner <david@fromorbit.com> Signed-off-by:
Zhang Yi <yi.zhang@huawei.com> Reviewed-by:
Darrick J. Wong <djwong@kernel.org> Conflicts: fs/iomap/buffered-io.c [ 15d09f86("iomap: export __iomap_write_{begin|end}") is applied. ] Signed-off-by:
Zhihao Cheng <chengzhihao1@huawei.com> Signed-off-by:
Zhihao Cheng <chengzhihao@huaweicloud.com>