diff options
author | Trond Myklebust <trondmy@gmail.com> | 2018-08-21 16:25:34 +0200 |
---|---|---|
committer | Anna Schumaker <Anna.Schumaker@Netapp.com> | 2018-08-21 19:39:08 +0200 |
commit | 0af4c8be97a14d1df8a78b4993a09e8dff545a18 (patch) | |
tree | 0a4917fa2cd8ea7b3ddfac84f0cc8730af19a757 /net | |
parent | pNFS/flexfiles: ff_layout_pg_init_read should exit on error (diff) | |
download | linux-0af4c8be97a14d1df8a78b4993a09e8dff545a18.tar.xz linux-0af4c8be97a14d1df8a78b4993a09e8dff545a18.zip |
pNFS: Remove unwanted optimisation of layoutget
If we knew that the file was empty, we wouldn't be asking for a layout.
Any optimisation here is already done before calling pnfs_update_layout().
As it stands, we sometimes end up doing an unnecessary inband read to
the MDS even when holding a layout.
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions