Commit fa88a7d6 authored by Trond Myklebust's avatar Trond Myklebust Committed by Anna Schumaker
Browse files

nfs: enable localio for non-pNFS IO



Try a local open of the file being written to, and if it succeeds,
then use localio to issue IO.

Signed-off-by: default avatarTrond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: default avatarMike Snitzer <snitzer@kernel.org>
Reviewed-by: default avatarNeilBrown <neilb@suse.de>
Reviewed-by: default avatarJeff Layton <jlayton@kernel.org>
Signed-off-by: default avatarAnna Schumaker <anna.schumaker@oracle.com>
parent 70ba381e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment