OSDN Git Service

NFS: Remove redundant mirror tracking in O_DIRECT
authorTrond Myklebust <trondmy@gmail.com>
Mon, 30 Sep 2019 18:02:57 +0000 (14:02 -0400)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Wed, 9 Oct 2019 15:45:59 +0000 (11:45 -0400)
commit0b5748477924d2fb37f6b77d1a7eef600a96d722
tree2df465caec5c90d38bc864a31e77b5dedee2f021
parent031d73ed768a40684f3ca21992265ffdb6a270bf
NFS: Remove redundant mirror tracking in O_DIRECT

We no longer need the extra mirror length tracking in the O_DIRECT code,
as we are able to track the maximum contiguous length in dreq->max_count.

Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
fs/nfs/direct.c