Metze, > wouldn't it be better to test with a zero file and with a non-zero one? > If there's a difference we should really test both.
With current NFS v2/v3 servers and clients it will never work with a zero length file, as the oplock break code gets called on read or write, and the NFS client doesn't send any read or write requests for zero length files. With NFSv4 it can work with zero length files though, and you're right that we could test with both when looking for correct interaction between NFSv4 and CIFS. Cheers, Tridge
