]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Modify the NFSv4.1/pNFS client to ask for a maximum length of layout.
authorRick Macklem <rmacklem@FreeBSD.org>
Sat, 29 Apr 2017 00:34:53 +0000 (00:34 +0000)
committerRick Macklem <rmacklem@FreeBSD.org>
Sat, 29 Apr 2017 00:34:53 +0000 (00:34 +0000)
commit845eb84c5627375dd00ac4b3088fb7663892836e
treec09018234d1d217bbe7f17e01364e3362404ca4d
parentbabf030fd66684b6e531089a1afdcebe2d477533
Modify the NFSv4.1/pNFS client to ask for a maximum length of layout.

The code specified the length of a layout as INT64_MAX instead of
UINT64_MAX. This could result in getting a layout for less than the
full file for extremely large files. Although having little practical
effect, this patch corrects this in the code.
Detected during recent testing of the pNFS server.

MFC after: 2 weeks
sys/fs/nfsclient/nfs_clrpcops.c