Skip to content
Commit 59e356a9 authored by Trond Myklebust's avatar Trond Myklebust
Browse files

NFS: Use the 64-bit server readdir cookies when possible



When we're running as a 64-bit architecture and are not running in
32-bit compatibility mode, it is better to use the 64-bit readdir
cookies that supplied by the server. Doing so improves the accuracy
of telldir()/seekdir(), particularly when the directory is changing,
for instance, when doing 'rm -rf'.

We still fall back to using the 32-bit offsets on 32-bit architectures
and when in compatibility mode.

Signed-off-by: default avatarTrond Myklebust <trond.myklebust@hammerspace.com>
parent fb33c651
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment