Rick Macklem 94f2e42f5e nfsclient: Fix the stripe unit size for a File Layout pNFS layout
During a recent virtual NFSv4 testing event, a bug in the FreeBSD client
was detected when doing a File Layout pNFS DS I/O operation.
The size of the I/O operation was smaller than expected.
The I/O size is specified as a stripe unit size in bits 6->31 of nflh_util
in the layout.  I had misinterpreted RFC5661 and had shifted the value
right by 6 bits. The correct interpretation is to use the value as
presented (it is always an exact multiple of 64), clearing bits 0->5.
This patch fixes this.

Without the patch, I/O through the DSs work, but the I/O size is 1/64th
of what is optimal.

MFC after:	2 weeks
2021-03-01 12:49:32 -08:00
..
2021-01-02 19:57:58 -07:00
2021-02-27 10:40:24 -05:00
2021-02-25 21:43:12 -04:00
2021-02-28 16:03:55 -04:00
2021-01-15 20:09:55 +01:00
2021-02-17 16:32:11 -08:00
2021-03-01 07:43:27 +00:00