diff options
| author | Yan, Zheng <[email protected]> | 2015-09-07 07:46:24 +0000 |
|---|---|---|
| committer | Ilya Dryomov <[email protected]> | 2015-09-09 06:52:29 +0000 |
| commit | 438386853d4c0c48fe73bf05a7d61c70ca5a3bfb (patch) | |
| tree | b760a610262df0e202e949cbb3b6f71726ff2c38 /drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c | |
| parent | ceph: get inode size for each append write (diff) | |
| download | kernel-438386853d4c0c48fe73bf05a7d61c70ca5a3bfb.tar.gz kernel-438386853d4c0c48fe73bf05a7d61c70ca5a3bfb.zip | |
ceph: improve readahead for file holes
When readahead encounters file holes, osd reply returns error -ENOENT,
finish_read() skips adding pages to the the page cache. So readahead
does not work for file holes. The fix is adding zero pages to the
page cache when -ENOENT is returned.
Signed-off-by: Yan, Zheng <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c')
0 files changed, 0 insertions, 0 deletions
