Skip to content
Commit 64294b08 authored by Trond Myklebust's avatar Trond Myklebust Committed by Trond Myklebust
Browse files

pNFS: Don't send LAYOUTGET on OPEN for read, if we already have cached data



If we're only opening the file for reading, and the file is empty and/or
we already have cached data, then heuristically optimise away the
LAYOUTGET.

Signed-off-by: default avatarTrond Myklebust <trond.myklebust@hammerspace.com>
parent 8dc96566
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment