NFSv4: Don't request size+change attribute if they are delegated to us
authorTrond Myklebust <trond.myklebust@primarydata.com>
Sat, 7 Apr 2018 17:44:28 +0000 (13:44 -0400)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Mon, 4 Jun 2018 16:07:07 +0000 (12:07 -0400)
commit30846df06f937b692ea658aaf7e28acf56a255f8
treeb70015760baf43cc93c1d460b22242df8e73d7bd
parentae55e59da0e401893b3c52b575fc18a00623d0a1
NFSv4: Don't request size+change attribute if they are delegated to us

When we hold a delegation, we should not need to request attributes such
as the file size or the change attribute. For some servers, avoiding
asking for these unneeded attributes can improve the overall system
performance.

Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
fs/nfs/nfs4proc.c