commit | ac604d3cdb20a12d67131d20095c4c7905aeb722 | [log] [tgz] |
---|---|---|
author | Gang He <ghe@suse.com> | Wed Jan 31 16:15:21 2018 -0800 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Wed Jan 31 17:18:35 2018 -0800 |
tree | d5222493f47a4c9bfe810769418b1544ce044041 | |
parent | 06e7f13d192ba9d6806f6caaf58f88b1b0b57134 [diff] |
ocfs2: add ocfs2_overwrite_io() Add ocfs2_overwrite_io function, which is used to judge if overwrite allocated blocks, otherwise, the write will bring extra block allocation overhead. [ghe@suse.com: v3] Link: http://lkml.kernel.org/r/1514455665-16325-3-git-send-email-ghe@suse.com [ghe@suse.com: v2] Link: http://lkml.kernel.org/r/1511944612-9629-3-git-send-email-ghe@suse.com Link: http://lkml.kernel.org/r/1511775987-841-3-git-send-email-ghe@suse.com Signed-off-by: Gang He <ghe@suse.com> Reviewed-by: Changwei Ge <ge.changwei@h3c.com> Cc: Mark Fasheh <mfasheh@versity.com> Cc: Joel Becker <jlbec@evilplan.org> Cc: Junxiao Bi <junxiao.bi@oracle.com> Cc: Joseph Qi <jiangqi903@gmail.com> Cc: Jun Piao <piaojun@huawei.com> Cc: alex chen <alex.chen@huawei.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>