commit | 2587b1f1fae2d992de67e57b519f36e7c9ba70cd | [log] [tgz] |
---|---|---|
author | Darrick J. Wong <darrick.wong@oracle.com> | Tue Oct 30 10:42:56 2018 +1100 |
committer | Dave Chinner <david@fromorbit.com> | Tue Oct 30 10:42:56 2018 +1100 |
tree | 6ba10076889122b14e81806f75db884e5bbf0538 | |
parent | 8c5c836bd6c3b9f9fc1c5a210d630b8c42f4f7df [diff] |
ocfs2: truncate page cache for clone destination file before remapping When cloning blocks into another file, truncate the page cache before we start remapping blocks so that concurrent reads wait for us to finish. Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Reviewed-by: Dave Chinner <dchinner@redhat.com> Signed-off-by: Dave Chinner <david@fromorbit.com>