diff options
author | Darrick J. Wong <darrick.wong@oracle.com> | 2018-10-30 10:42:56 +1100 |
---|---|---|
committer | Dave Chinner <david@fromorbit.com> | 2018-10-30 10:42:56 +1100 |
commit | 2587b1f1fae2d992de67e57b519f36e7c9ba70cd (patch) | |
tree | 6ba10076889122b14e81806f75db884e5bbf0538 /fs/ioctl.c | |
parent | 8c5c836bd6c3b9f9fc1c5a210d630b8c42f4f7df (diff) | |
download | linux-2587b1f1fae2d992de67e57b519f36e7c9ba70cd.tar.bz2 |
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>
Diffstat (limited to 'fs/ioctl.c')
0 files changed, 0 insertions, 0 deletions