Lines Matching refs:readahead
3890 * Decide whether to do readahead.
3896 * lookups in the directory. The readahead
3919 * for the readahead. If so, we don't need
4623 int readahead;
4625 int ra_window; /* readahead window */
4647 * Queueing up the readahead before doing the synchronous read
4660 * b) Do maximum(nfs3_nra) readaheads when the readahead
4663 * upon how far the readahead window is open or close.
4665 * of the readahead window (random i/o).
4669 readahead = 0;
4671 readahead = nfs3_nra;
4675 readahead = nfs3_nra - ra_window;
4677 readahead = 0;
4680 while (readahead > 0 && rablkoff + bsize < rp->r_size) {
4688 readahead--;
4691 * Indicate that we did a readahead so
4692 * readahead offset is not updated
4698 * set readahead offset to
4699 * offset of last async readahead
4909 * cases, we want to punt on the readahead.
4972 * In case of error set readahead offset