aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
diff options
context:
space:
mode:
authorDave Chinner <[email protected]>2018-11-19 21:31:09 +0000
committerDarrick J. Wong <[email protected]>2018-11-20 18:36:19 +0000
commit7f9f71be84bcab368e58020a42f6d0dd97adf0ce (patch)
tree424a0ea984721b50be1e95d00e019bf88791b4ad /drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
parentxfs: finobt AG reserves don't consider last AG can be a runt (diff)
downloadkernel-7f9f71be84bcab368e58020a42f6d0dd97adf0ce.tar.gz
kernel-7f9f71be84bcab368e58020a42f6d0dd97adf0ce.zip
xfs: extent shifting doesn't fully invalidate page cache
The extent shifting code uses a flush and invalidate mechainsm prior to shifting extents around. This is similar to what xfs_free_file_space() does, but it doesn't take into account things like page cache vs block size differences, and it will fail if there is a page that it currently busy. xfs_flush_unmap_range() handles all of these cases, so just convert xfs_prepare_shift() to us that mechanism rather than having it's own special sauce. Signed-off-by: Dave Chinner <[email protected]> Reviewed-by: Christoph Hellwig <[email protected]> Reviewed-by: Darrick J. Wong <[email protected]> Signed-off-by: Darrick J. Wong <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c')
0 files changed, 0 insertions, 0 deletions