aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2022-01-31 17:54:43 +0000
committerSteve French <stfrench@microsoft.com>2022-02-01 10:36:22 -0600
commit46f5cbdef7d4fbb0f857a3caddec6799d0b5bb2f (patch)
treeec458be1b9b601f56cac5125be378809c2966d3b /drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
parent0174ee9947bd0f24fee2794b35258960d108b7aa (diff)
downloadlinux-46f5cbdef7d4fbb0f857a3caddec6799d0b5bb2f.tar.gz
linux-46f5cbdef7d4fbb0f857a3caddec6799d0b5bb2f.tar.bz2
linux-46f5cbdef7d4fbb0f857a3caddec6799d0b5bb2f.zip
cifs: Fix the readahead conversion to manage the batch when reading from cache
Fix the readahead conversion to correctly manage the last batch skipping when reading from cache. This involves a readahead batch of one page or one folio, so set the batch size according to the number of constituent pages (should be 1 for a filesystem that doesn't do multipage folios yet). Signed-off-by: David Howells <dhowells@redhat.com> cc: Steve French <smfrench@gmail.com> Reviewed-by: Rohith Surabattula <rohiths.msft@gmail.com> Reviewed-by: Shyam Prasad N <nspmangalore@gmail.com> cc: Jeff Layton <jlayton@kernel.org> cc: linux-cifs@vger.kernel.org Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c')
0 files changed, 0 insertions, 0 deletions