commit | 64294b08f9d27f83cbb0975250614864fa733bda | [log] [tgz] |
---|---|---|
author | Trond Myklebust <trond.myklebust@primarydata.com> | Thu Feb 02 12:26:38 2017 -0500 |
committer | Trond Myklebust <trond.myklebust@hammerspace.com> | Thu May 31 15:03:12 2018 -0400 |
tree | 5e342c641fba507f84a486b6ed6e47880bc82065 | |
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>