]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
kclient: zero pages we did readahead on
authorSage Weil <sage@newdream.net>
Fri, 14 Aug 2009 21:37:36 +0000 (14:37 -0700)
committerSage Weil <sage@newdream.net>
Fri, 14 Aug 2009 21:37:49 +0000 (14:37 -0700)
commitcfd3d87a31ae855f3156ad8461ba12bc9ea163d3
tree08aad7930f65617adb3e0acb6aaa9edc5adc140f
parent0f33aa4d3ef16f413f1a3e0ee5baf64446d248b4
kclient: zero pages we did readahead on

If we get -ENOENT or a short read on readahead, we should still
zero the pages and add them to the page cache, to avoid a future
readpage on each one.
src/kernel/addr.c