Lines Matching refs:readahead
3146 * Decide whether to do readahead. Don't if
3160 * for the readahead. If so, we don't need
3719 int readahead;
3721 int ra_window; /* readahead window */
3742 * Queueing up the readahead before doing the synchronous read
3755 * b) Do maximum(nfs_nra) readaheads when the readahead
3758 * upon how far the readahead window is open or close.
3760 * of the readahead window (random i/o).
3764 readahead = 0;
3766 readahead = nfs_nra;
3770 readahead = nfs_nra - ra_window;
3772 readahead = 0;
3775 while (readahead > 0 && rablkoff + bsize < rp->r_size) {
3783 readahead--;
3786 * Indicate that we did a readahead so
3787 * readahead offset is not updated
3793 * set readahead offset to
3794 * offset of last async readahead
3999 * cases, we want to punt on the readahead.
4057 * In case of error set readahead offset