Lines Matching refs:readahead
9045 * Decide whether to do readahead. Don't if we
9059 /* Determine if a readdir readahead should be done */
9067 * Now look for a readahead entry.
9069 * Check to see whether we found an entry for the readahead.
9078 * A readdir cache entry could not be obtained for the readahead. In
9079 * this case we skip the readahead and return.
9531 nfs4_bio(struct buf *bp, stable_how4 *stab_comm, cred_t *cr, bool_t readahead)
9557 readahead, NULL);
9844 int readahead;
9846 int ra_window; /* readahead window */
9870 * Queueing up the readahead before doing the synchronous read
9883 * b) Do maximum(nfs4_nra) readaheads when the readahead
9886 * upon how far the readahead window is open or close.
9888 * of the readahead window (random i/o).
9892 readahead = 0;
9894 readahead = nfs4_nra;
9898 readahead = nfs4_nra - ra_window;
9900 readahead = 0;
9903 while (readahead > 0 && rablkoff + bsize < rp->r_size) {
9911 readahead--;
9914 * Indicate that we did a readahead so
9915 * readahead offset is not updated
9921 * set readahead offset to
9922 * offset of last async readahead
10131 * cases, we want to punt on the readahead.
10194 * In case of error set readahead offset