diff options
author | Trond Myklebust <trond.myklebust@primarydata.com> | 2017-02-02 12:26:38 -0500 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@hammerspace.com> | 2018-05-31 15:03:12 -0400 |
commit | 64294b08f9d27f83cbb0975250614864fa733bda (patch) | |
tree | 5e342c641fba507f84a486b6ed6e47880bc82065 /drivers | |
parent | 8dc96566c0c34b8c2632bc6071dad208d69dd5b0 (diff) |
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: Trond Myklebust <trond.myklebust@hammerspace.com>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions