1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173
|
<pre>Internet Engineering Task Force (IETF) C. Lever
Request for Comments: 8267 Oracle
Obsoletes: <a href="./rfc5667">5667</a> October 2017
Category: Standards Track
ISSN: 2070-1721
Network File System (NFS) Upper-Layer Binding to RPC-over-RDMA Version 1
Abstract
This document specifies Upper-Layer Bindings of Network File System
(NFS) protocol versions to RPC-over-RDMA version 1, thus enabling the
use of Direct Data Placement. This document obsoletes <a href="./rfc5667">RFC 5667</a>.
Status of This Memo
This is an Internet Standards Track document.
This document is a product of the Internet Engineering Task Force
(IETF). It represents the consensus of the IETF community. It has
received public review and has been approved for publication by the
Internet Engineering Steering Group (IESG). Further information on
Internet Standards is available in <a href="./rfc7841#section-2">Section 2 of RFC 7841</a>.
Information about the current status of this document, any errata,
and how to provide feedback on it may be obtained at
<a href="https://www.rfc-editor.org/info/rfc8267">https://www.rfc-editor.org/info/rfc8267</a>.
<span class="grey">Lever Standards Track [Page 1]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-2" ></span>
<span class="grey"><a href="./rfc8267">RFC 8267</a> NFS on RPC-over-RDMA Version 1 October 2017</span>
Copyright Notice
Copyright (c) 2017 IETF Trust and the persons identified as the
document authors. All rights reserved.
This document is subject to <a href="https://www.rfc-editor.org/bcp/bcp78">BCP 78</a> and the IETF Trust's Legal
Provisions Relating to IETF Documents
(<a href="https://trustee.ietf.org/license-info">https://trustee.ietf.org/license-info</a>) in effect on the date of
publication of this document. Please review these documents
carefully, as they describe your rights and restrictions with respect
to this document. Code Components extracted from this document must
include Simplified BSD License text as described in Section 4.e of
the Trust Legal Provisions and are provided without warranty as
described in the Simplified BSD License.
This document may contain material from IETF Documents or IETF
Contributions published or made publicly available before November
10, 2008. The person(s) controlling the copyright in some of this
material may not have granted the IETF Trust the right to allow
modifications of such material outside the IETF Standards Process.
Without obtaining an adequate license from the person(s) controlling
the copyright in such materials, this document may not be modified
outside the IETF Standards Process, and derivative works of it may
not be created outside the IETF Standards Process, except to format
it for publication as an RFC or to translate it into languages other
than English.
<span class="grey">Lever Standards Track [Page 2]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-3" ></span>
<span class="grey"><a href="./rfc8267">RFC 8267</a> NFS on RPC-over-RDMA Version 1 October 2017</span>
Table of Contents
<a href="#section-1">1</a>. Introduction . . . . . . . . . . . . . . . . . . . . . . . . <a href="#page-4">4</a>
<a href="#section-2">2</a>. Requirements Language . . . . . . . . . . . . . . . . . . . . <a href="#page-4">4</a>
<a href="#section-3">3</a>. Reply Size Estimation . . . . . . . . . . . . . . . . . . . . <a href="#page-5">5</a>
<a href="#section-3.1">3.1</a>. Short Reply Chunk Retry . . . . . . . . . . . . . . . . . <a href="#page-5">5</a>
<a href="#section-4">4</a>. Upper-Layer Binding for NFS Versions 2 and 3 . . . . . . . . <a href="#page-6">6</a>
<a href="#section-4.1">4.1</a>. Reply Size Estimation . . . . . . . . . . . . . . . . . . <a href="#page-7">7</a>
<a href="#section-4.2">4.2</a>. RPC Binding Considerations . . . . . . . . . . . . . . . <a href="#page-7">7</a>
5. Upper-Layer Bindings for NFS Versions 2 and 3 Auxiliary
Protocols . . . . . . . . . . . . . . . . . . . . . . . . . . <a href="#page-7">7</a>
<a href="#section-5.1">5.1</a>. MOUNT, NLM, and NSM Protocols . . . . . . . . . . . . . . <a href="#page-8">8</a>
<a href="#section-5.2">5.2</a>. NFSACL Protocol . . . . . . . . . . . . . . . . . . . . . <a href="#page-8">8</a>
<a href="#section-6">6</a>. Upper-Layer Binding for NFS Version 4 . . . . . . . . . . . . <a href="#page-8">8</a>
<a href="#section-6.1">6.1</a>. DDP-Eligibility . . . . . . . . . . . . . . . . . . . . . <a href="#page-8">8</a>
<a href="#section-6.2">6.2</a>. Reply Size Estimation . . . . . . . . . . . . . . . . . . <a href="#page-9">9</a>
<a href="#section-6.3">6.3</a>. RPC Binding Considerations . . . . . . . . . . . . . . . <a href="#page-10">10</a>
<a href="#section-6.4">6.4</a>. NFS COMPOUND Requests . . . . . . . . . . . . . . . . . . <a href="#page-10">10</a>
<a href="#section-6.5">6.5</a>. NFS Callback Requests . . . . . . . . . . . . . . . . . . <a href="#page-13">13</a>
<a href="#section-6.6">6.6</a>. Session-Related Considerations . . . . . . . . . . . . . <a href="#page-14">14</a>
<a href="#section-6.7">6.7</a>. Transport Considerations . . . . . . . . . . . . . . . . <a href="#page-15">15</a>
<a href="#section-7">7</a>. Extending NFS Upper-Layer Bindings . . . . . . . . . . . . . <a href="#page-16">16</a>
<a href="#section-8">8</a>. Security Considerations . . . . . . . . . . . . . . . . . . . <a href="#page-16">16</a>
<a href="#section-9">9</a>. IANA Considerations . . . . . . . . . . . . . . . . . . . . . <a href="#page-17">17</a>
<a href="#section-10">10</a>. References . . . . . . . . . . . . . . . . . . . . . . . . . <a href="#page-17">17</a>
<a href="#section-10.1">10.1</a>. Normative References . . . . . . . . . . . . . . . . . . <a href="#page-17">17</a>
<a href="#section-10.2">10.2</a>. Informative References . . . . . . . . . . . . . . . . . <a href="#page-18">18</a>
<a href="#appendix-A">Appendix A</a>. Changes Since <a href="./rfc5667">RFC 5667</a> . . . . . . . . . . . . . . . <a href="#page-20">20</a>
Acknowledgments . . . . . . . . . . . . . . . . . . . . . . . . . <a href="#page-21">21</a>
Author's Address . . . . . . . . . . . . . . . . . . . . . . . . <a href="#page-21">21</a>
<span class="grey">Lever Standards Track [Page 3]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-4" ></span>
<span class="grey"><a href="./rfc8267">RFC 8267</a> NFS on RPC-over-RDMA Version 1 October 2017</span>
<span class="h2"><a class="selflink" id="section-1" href="#section-1">1</a>. Introduction</span>
The RPC-over-RDMA version 1 transport may employ Direct Data
Placement (DDP) to convey data payloads associated with RPC
transactions [<a href="./rfc8166" title=""Remote Direct Memory Access Transport for Remote Procedure Call Version 1"">RFC8166</a>]. To enable successful interoperation, RPC
client and server implementations using RPC-over-RDMA version 1 must
agree which External Data Representation (XDR) data items and RPC
procedures are eligible to use DDP.
An Upper-Layer Binding specifies this agreement for one or more
versions of one RPC program. Other operational details, such as RPC
binding assignments, pairing Write chunks with result data items, and
reply size estimation, are also specified by this Binding.
This document contains material required of Upper-Layer Bindings, as
specified in [<a href="./rfc8166" title=""Remote Direct Memory Access Transport for Remote Procedure Call Version 1"">RFC8166</a>], for the following NFS protocol versions:
o NFS version 2 [<a href="./rfc1094" title=""NFS: Network File System Protocol specification"">RFC1094</a>]
o NFS version 3 [<a href="./rfc1813" title=""NFS Version 3 Protocol Specification"">RFC1813</a>]
o NFS version 4.0 [<a href="./rfc7530" title=""Network File System (NFS) Version 4 Protocol"">RFC7530</a>]
o NFS version 4.1 [<a href="./rfc5661" title=""Network File System (NFS) Version 4 Minor Version 1 Protocol"">RFC5661</a>]
o NFS version 4.2 [<a href="./rfc7862" title=""Network File System (NFS) Version 4 Minor Version 2 Protocol"">RFC7862</a>]
Upper-Layer Bindings are also provided for auxiliary protocols used
with NFS versions 2 and 3 (see <a href="#section-5">Section 5</a>).
This document assumes the reader is already familiar with concepts
and terminology defined in [<a href="./rfc8166" title=""Remote Direct Memory Access Transport for Remote Procedure Call Version 1"">RFC8166</a>] and the documents it references.
<span class="h2"><a class="selflink" id="section-2" href="#section-2">2</a>. Requirements Language</span>
The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT",
"SHOULD", "SHOULD NOT", "RECOMMENDED", "NOT RECOMMENDED", "MAY", and
"OPTIONAL" in this document are to be interpreted as described in
<a href="https://www.rfc-editor.org/bcp/bcp14">BCP 14</a> [<a href="./rfc2119" title=""Key words for use in RFCs to Indicate Requirement Levels"">RFC2119</a>] [<a href="./rfc8174" title=""Ambiguity of Uppercase vs Lowercase in RFC 2119 Key Words"">RFC8174</a>] when, and only when, they appear in all
capitals, as shown here.
<span class="grey">Lever Standards Track [Page 4]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-5" ></span>
<span class="grey"><a href="./rfc8267">RFC 8267</a> NFS on RPC-over-RDMA Version 1 October 2017</span>
<span class="h2"><a class="selflink" id="section-3" href="#section-3">3</a>. Reply Size Estimation</span>
During the construction of each RPC Call message, a requester is
responsible for allocating appropriate resources for receiving the
corresponding Reply message. If the requester expects the RPC Reply
message will be larger than its inline threshold, it provides Write
and/or Reply chunks wherein the responder can place results and the
Reply's Payload stream.
A reply resource overrun occurs if the RPC Reply Payload stream does
not fit into the provided Reply chunk or if no Reply chunk was
provided and the Payload stream does not fit inline. This prevents
the responder from returning the Upper-Layer reply to the requester.
Therefore, reliable reply size estimation is necessary to ensure
successful interoperation.
In most cases, the NFS protocol's XDR definition provides enough
information to enable an NFS client to predict the maximum size of
the expected Reply message. If there are variable-size data items in
the result, the maximum size of the RPC Reply message can be
estimated as follows:
o The client requests only a specific portion of an object (e.g.,
using the "count" and "offset" fields in an NFS READ).
o The client limits the number of results (e.g., using the "count"
field of an NFS READDIR request).
o The client has already cached the size of the whole object it is
about to request (e.g., via a previous NFS GETATTR request).
o The client and server have negotiated a maximum size for all calls
and responses (e.g., using a CREATE_SESSION operation).
<span class="h3"><a class="selflink" id="section-3.1" href="#section-3.1">3.1</a>. Short Reply Chunk Retry</span>
In a few cases, either the size of one or more returned data items or
the number of returned data items cannot be known in advance of
forming an RPC Call.
If an NFS server finds that the NFS client provided inadequate
receive resources to return the whole Reply, it returns an RPC-level
error or a transport error, such as ERR_CHUNK.
<span class="grey">Lever Standards Track [Page 5]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-6" ></span>
<span class="grey"><a href="./rfc8267">RFC 8267</a> NFS on RPC-over-RDMA Version 1 October 2017</span>
In response to these errors, an NFS client can choose to:
o terminate the RPC transaction immediately with an error, or
o allocate a larger Reply chunk and send the same request as a new
RPC transaction (a new Transaction ID (XID) should be assigned to
the retransmitted request to avoid matching a cached RPC Reply
that caches the original error). The NFS client should avoid
retrying the request indefinitely because a responder may return
ERR_CHUNK for a variety of reasons.
Subsequent sections of this document discuss exactly which operations
might have ultimate difficulty with reply size estimation. These
operations are eligible for "short Reply chunk retry". Unless
explicitly mentioned as applicable, short Reply chunk retry should
not be used since accurate reply size estimation is problematic in
only a few cases. In all other cases, reply size underestimation is
considered a correctable implementation bug.
NFS server implementations can avoid connection loss by first
confirming that target RDMA segments are large enough to receive
results before initiating explicit RDMA operations.
<span class="h2"><a class="selflink" id="section-4" href="#section-4">4</a>. Upper-Layer Binding for NFS Versions 2 and 3</span>
The Upper-Layer Binding specification in this section applies to NFS
versions 2 [<a href="./rfc1094" title=""NFS: Network File System Protocol specification"">RFC1094</a>] and 3 [<a href="./rfc1813" title=""NFS Version 3 Protocol Specification"">RFC1813</a>]. For brevity, in this document
a "Legacy NFS client" refers to an NFS client using versions 2 or 3
of the NFS RPC program (100003) to communicate with an NFS server.
Likewise, a "Legacy NFS server" is an NFS server communicating with
clients using NFS versions 2 or 3.
The following XDR data items in NFS versions 2 and 3 are
DDP-eligible:
o the opaque file data argument in the NFS WRITE procedure
o the pathname argument in the NFS SYMLINK procedure
o the opaque file data result in the NFS READ procedure
o the pathname result in the NFS READLINK procedure
All other argument or result data items in NFS versions 2 and 3 are
not DDP-eligible.
<span class="grey">Lever Standards Track [Page 6]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-7" ></span>
<span class="grey"><a href="./rfc8267">RFC 8267</a> NFS on RPC-over-RDMA Version 1 October 2017</span>
A transport error does not give an indication of whether the server
has processed the arguments of the RPC Call or whether the server has
accessed or modified client memory associated with that RPC.
<span class="h3"><a class="selflink" id="section-4.1" href="#section-4.1">4.1</a>. Reply Size Estimation</span>
A Legacy NFS client determines the maximum reply size for each
operation using the criteria outlined in <a href="#section-3">Section 3</a>. There are no
operations in NFS versions 2 or 3 that benefit from short Reply chunk
retry.
<span class="h3"><a class="selflink" id="section-4.2" href="#section-4.2">4.2</a>. RPC Binding Considerations</span>
Legacy NFS servers traditionally listen for clients on UDP and TCP
port 2049. Additionally, they register these ports with a local
portmapper [<a href="./rfc1833" title=""Binding Protocols for ONC RPC Version 2"">RFC1833</a>] service.
A Legacy NFS server supporting RPC-over-RDMA version 1 on such a
network and registering itself with the RPC portmapper MAY choose an
arbitrary port or MAY use the alternative well-known port number for
its RPC-over-RDMA service (see <a href="#section-9">Section 9</a>). The chosen port MAY be
registered with the RPC portmapper under the netids assigned in
[<a href="./rfc8166" title=""Remote Direct Memory Access Transport for Remote Procedure Call Version 1"">RFC8166</a>].
<span class="h2"><a class="selflink" id="section-5" href="#section-5">5</a>. Upper-Layer Bindings for NFS Versions 2 and 3 Auxiliary Protocols</span>
NFS versions 2 and 3 are typically deployed with several other
protocols, sometimes referred to as "NFS auxiliary protocols". These
are distinct RPC programs that define procedures that are not part of
the NFS RPC program (100003). The Upper-Layer Bindings in this
section apply to:
o versions 2 and 3 of the MOUNT RPC program (100005) [<a href="./rfc1813" title=""NFS Version 3 Protocol Specification"">RFC1813</a>];
o versions 1, 3, and 4 of the NLM (Network Lock Manager) RPC program
(100021) [<a href="./rfc1813" title=""NFS Version 3 Protocol Specification"">RFC1813</a>];
o version 1 of the NSM (Network Status Monitor) RPC program
(100024), which is described in Chapter 11 of [<a href="#ref-XNFS" title=""Protocols for Interworking: XNFS, Version 3W"">XNFS</a>]; and
o version 1 of the NFSACL RPC program (100227), which does not have
a public definition. NFSACL is treated in this document as a de
facto standard, as there are several interoperating
implementations.
<span class="grey">Lever Standards Track [Page 7]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-8" ></span>
<span class="grey"><a href="./rfc8267">RFC 8267</a> NFS on RPC-over-RDMA Version 1 October 2017</span>
<span class="h3"><a class="selflink" id="section-5.1" href="#section-5.1">5.1</a>. MOUNT, NLM, and NSM Protocols</span>
Historically, NFS/RDMA implementations have chosen to convey the
MOUNT, NLM, and NSM protocols via TCP. To enable interoperation of
these protocols when NFS/RDMA is in use, a Legacy NFS server MUST
provide support for these protocols via TCP.
<span class="h3"><a class="selflink" id="section-5.2" href="#section-5.2">5.2</a>. NFSACL Protocol</span>
Legacy clients and servers that support the NFSACL RPC program
typically convey NFSACL procedures on the same connection as the NFS
RPC program (100003). This obviates the need for separate rpcbind
queries to discover server support for this RPC program.
Access Control Lists (ACLs) are typically small, but even large ACLs
must be encoded and decoded to some degree. Thus, no data item in
this upper-layer protocol is DDP-eligible.
For NFSACL procedures whose Replies do not include an ACL object, the
size of a Reply is determined directly from the NFSACL RPC program's
XDR definition.
There is no protocol-specified size limit for NFS version 3 ACLs, and
there is no mechanism in either the NFSACL or NFS RPC programs for a
Legacy client to ascertain the largest ACL a Legacy server can
return. Legacy client implementations should choose a maximum size
for ACLs based on their own internal limits.
Because an NFSACL client cannot know in advance how large a returned
ACL will be, it can use short Reply chunk retry when an NFSACL GETACL
operation encounters a transport error.
<span class="h2"><a class="selflink" id="section-6" href="#section-6">6</a>. Upper-Layer Binding for NFS Version 4</span>
The Upper-Layer Binding specification in this section applies to
versions of the NFS RPC program defined in NFS versions 4.0
[<a href="./rfc7530" title=""Network File System (NFS) Version 4 Protocol"">RFC7530</a>], 4.1 [<a href="./rfc5661" title=""Network File System (NFS) Version 4 Minor Version 1 Protocol"">RFC5661</a>], and 4.2 [<a href="./rfc7862" title=""Network File System (NFS) Version 4 Minor Version 2 Protocol"">RFC7862</a>].
<span class="h3"><a class="selflink" id="section-6.1" href="#section-6.1">6.1</a>. DDP-Eligibility</span>
Only the following XDR data items in the COMPOUND procedure of all
NFS version 4 minor versions are DDP-eligible:
o The opaque data field in the WRITE4args structure
o The linkdata field of the NF4LNK arm in the createtype4 union
<span class="grey">Lever Standards Track [Page 8]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-9" ></span>
<span class="grey"><a href="./rfc8267">RFC 8267</a> NFS on RPC-over-RDMA Version 1 October 2017</span>
o The opaque data field in the READ4resok structure
o The linkdata field in the READLINK4resok structure
<span class="h3"><a class="selflink" id="section-6.2" href="#section-6.2">6.2</a>. Reply Size Estimation</span>
Within NFS version 4, there are certain variable-length result data
items whose maximum size cannot be estimated by clients reliably
because there is no protocol-specified size limit on these arrays.
These include:
o the attrlist4 field;
o fields containing ACLs such as fattr4_acl, fattr4_dacl, and
fattr4_sacl;
o fields in the fs_locations4 and fs_locations_info4 data
structures; and
o fields opaque to the NFS version 4 protocol that pertain to pNFS
(parallel NFS) layout metadata, such as loc_body, loh_body,
da_addr_body, lou_body, lrf_body, fattr_layout_types, and
fs_layout_types.
<span class="h4"><a class="selflink" id="section-6.2.1" href="#section-6.2.1">6.2.1</a>. Reply Size Estimation for Minor Version 0</span>
The NFS version 4.0 protocol itself does not impose any bound on the
size of NFS calls or responses.
Some of the data items enumerated in <a href="#section-6.2">Section 6.2</a> (in particular, the
items related to ACLs and fs_locations) make it difficult to predict
the maximum size of NFS version 4.0 Replies that interrogate
variable-length fattr4 attributes. Client implementations might rely
on their own internal architectural limits to constrain the reply
size, but such limits are not always guaranteed to be reliable.
When an especially large fattr4 result is expected, a Reply chunk
might be required. An NFS version 4.0 client can use short Reply
chunk retry when an NFS COMPOUND containing a GETATTR operation
encounters a transport error.
The use of NFS COMPOUND operations raises the possibility of requests
that combine a non-idempotent operation (e.g., RENAME) with a GETATTR
operation that requests one or more variable-length results. This
combination should be avoided by ensuring that any GETATTR operation
that requests a result of unpredictable length is sent in an NFS
COMPOUND by itself.
<span class="grey">Lever Standards Track [Page 9]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-10" ></span>
<span class="grey"><a href="./rfc8267">RFC 8267</a> NFS on RPC-over-RDMA Version 1 October 2017</span>
<span class="h4"><a class="selflink" id="section-6.2.2" href="#section-6.2.2">6.2.2</a>. Reply Size Estimation for Minor Version 1 and Newer Minor</span>
<span class="h4"> Versions</span>
In NFS version 4.1 and newer minor versions, the csa_fore_chan_attrs
argument of the CREATE_SESSION operation contains a
ca_maxresponsesize field. The value in this field can be taken as
the absolute maximum size of replies generated by an NFS version 4.1
server.
This value can be used in cases where it is not possible to precisely
estimate a reply size upper bound. In practice, objects such as
ACLs, named attributes, layout bodies, and security labels are much
smaller than this maximum.
<span class="h3"><a class="selflink" id="section-6.3" href="#section-6.3">6.3</a>. RPC Binding Considerations</span>
NFS version 4 servers are required to listen on TCP port 2049, and
they are not required to register with an rpcbind service [<a href="./rfc7530" title=""Network File System (NFS) Version 4 Protocol"">RFC7530</a>].
Therefore, an NFS version 4 server supporting RPC-over-RDMA version 1
MUST use the alternative well-known port number for its RPC-over-RDMA
service (see <a href="#section-9">Section 9</a>). Clients SHOULD connect to this well-known
port without consulting the RPC portmapper (as for NFS version 4 on
TCP transports).
<span class="h3"><a class="selflink" id="section-6.4" href="#section-6.4">6.4</a>. NFS COMPOUND Requests</span>
<span class="h4"><a class="selflink" id="section-6.4.1" href="#section-6.4.1">6.4.1</a>. Multiple DDP-Eligible Data Items</span>
An NFS version 4 COMPOUND procedure can contain more than one
operation that carries a DDP-eligible data item. An NFS version 4
client provides XDR Position values in each Read chunk to
disambiguate which chunk is associated with which argument data item.
However, NFS version 4 server and client implementations must agree
in advance on how to pair Write chunks with returned result data
items.
In the following list, a "READ operation" refers to any NFS version 4
operation that has a DDP-eligible result data item. The mechanism
specified in <a href="./rfc8166#section-4.3.2">Section 4.3.2 of [RFC8166]</a> is applied to this class of
operations:
o If an NFS version 4 client wishes all DDP-eligible items in an NFS
Reply to be conveyed inline, it leaves the Write list empty.
o The first chunk in the Write list MUST be used by the first READ
operation in an NFS version 4 COMPOUND procedure. The next Write
chunk is used by the next READ operation, and so on.
<span class="grey">Lever Standards Track [Page 10]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-11" ></span>
<span class="grey"><a href="./rfc8267">RFC 8267</a> NFS on RPC-over-RDMA Version 1 October 2017</span>
o If an NFS version 4 client has provided a matching non-empty Write
chunk, then the corresponding READ operation MUST return its
DDP-eligible data item using that chunk.
o If an NFS version 4 client has provided an empty matching Write
chunk, then the corresponding READ operation MUST return all of
its result data items inline.
o If a READ operation returns a union arm that does not contain a
DDP-eligible result, and the NFS version 4 client has provided a
matching non-empty Write chunk, an NFS version 4 server MUST
return an empty Write chunk in that Write list position.
o If there are more READ operations than Write chunks, then
remaining NFS READ operations in an NFS version 4 COMPOUND that
have no matching Write chunk MUST return their results inline.
<span class="h4"><a class="selflink" id="section-6.4.2" href="#section-6.4.2">6.4.2</a>. Chunk List Complexity</span>
The RPC-over-RDMA version 1 protocol does not place any limit on the
number of chunks or segments that may appear in Read or Write lists.
However, for various reasons, NFS version 4 server implementations
often have practical limits on the number of chunks or segments they
are prepared to process in a single RPC transaction conveyed via
RPC-over-RDMA version 1.
These implementation limits are especially important when Kerberos
integrity or privacy is in use [<a href="./rfc7861" title=""Remote Procedure Call (RPC) Security Version 3"">RFC7861</a>]. Generic Security Service
(GSS) services increase the size of credential material in RPC
headers, potentially requiring more frequent use of Long messages.
This can increase the complexity of chunk lists independent of the
NFS version 4 COMPOUND being conveyed.
In the absence of explicit knowledge of the server's limits, NFS
version 4 clients SHOULD follow the prescriptions listed below when
constructing RPC-over-RDMA version 1 messages. NFS version 4 servers
MUST accept and process such requests.
o The Read list can contain either a Position Zero Read chunk, one
Read chunk with a non-zero Position, or both.
o The Write list can contain no more than one Write chunk.
o Any chunk can contain up to sixteen RDMA segments.
<span class="grey">Lever Standards Track [Page 11]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-12" ></span>
<span class="grey"><a href="./rfc8267">RFC 8267</a> NFS on RPC-over-RDMA Version 1 October 2017</span>
NFS version 4 clients wishing to send more complex chunk lists can
provide configuration interfaces to bound the complexity of NFS
version 4 COMPOUNDs, limit the number of elements in scatter-gather
operations, and avoid other sources of chunk overruns at the
receiving peer.
An NFS version 4 server SHOULD return one of the following responses
to a client that has sent an RPC transaction via RPC-over-RDMA
version 1, which cannot be processed due to chunk list complexity
limits on the server:
o A problem is detected by the transport layer while parsing the
transport header in an RPC Call message. The server responds with
an RDMA_ERROR message with the err field set to ERR_CHUNK.
o A problem is detected during XDR decoding of the RPC Call message
while the RPC layer reassembles the call's XDR stream. The server
responds with an RPC Reply with its "reply_stat" field set to
MSG_ACCEPTED and its "accept_stat" field set to GARBAGE_ARGS.
After receiving one of these errors, an NFS version 4 client SHOULD
NOT retransmit the failing request, as the result would be the same
error. It SHOULD immediately terminate the RPC transaction
associated with the XID in the RPC Reply.
<span class="h4"><a class="selflink" id="section-6.4.3" href="#section-6.4.3">6.4.3</a>. NFS Version 4 COMPOUND Example</span>
The following example shows a Write list with three Write chunks: A,
B, and C. The NFS version 4 server consumes the provided Write
chunks by writing the results of the designated operations in the
COMPOUND request (READ and READLINK) back to each chunk.
Write list:
A --> B --> C
NFS version 4 COMPOUND request:
PUTFH LOOKUP READ PUTFH LOOKUP READLINK PUTFH LOOKUP READ
| | |
v v v
A B C
If the NFS version 4 client does not want to have the READLINK result
returned via RDMA, it provides an empty Write chunk for buffer B to
indicate that the READLINK result must be returned inline.
<span class="grey">Lever Standards Track [Page 12]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-13" ></span>
<span class="grey"><a href="./rfc8267">RFC 8267</a> NFS on RPC-over-RDMA Version 1 October 2017</span>
<span class="h3"><a class="selflink" id="section-6.5" href="#section-6.5">6.5</a>. NFS Callback Requests</span>
The NFS version 4 family of protocols support server-initiated
callbacks to notify NFS version 4 clients of events such as recalled
delegations.
<span class="h4"><a class="selflink" id="section-6.5.1" href="#section-6.5.1">6.5.1</a>. NFS Version 4.0 Callback</span>
NFS version 4.0 implementations typically employ a separate TCP
connection to handle callback operations, even when the forward
channel uses an RPC-over-RDMA version 1 transport.
No operation in the NFS version 4.0 callback RPC program conveys a
significant data payload. Therefore, no XDR data items in this RPC
program are DDP-eligible.
A CB_RECALL Reply is small and fixed in size. The CB_GETATTR Reply
contains a variable-length fattr4 data item. See <a href="#section-6.2.1">Section 6.2.1</a> for a
discussion of reply size prediction for this data item.
An NFS version 4.0 client advertises netids and ad hoc port addresses
for contacting its NFS version 4.0 callback service using the
SETCLIENTID operation.
<span class="h4"><a class="selflink" id="section-6.5.2" href="#section-6.5.2">6.5.2</a>. NFS Version 4.1 Callback</span>
In NFS version 4.1 and newer minor versions, callback operations may
appear on the same connection as is used for NFS version 4 forward
channel client requests. NFS version 4 clients and servers MUST use
the approach described in [<a href="./rfc8167" title=""Bidirectional Remote Procedure Call on RPC- over-RDMA Transports"">RFC8167</a>] when backchannel operations are
conveyed on RPC-over-RDMA version 1 transports.
The csa_back_chan_attrs argument of the CREATE_SESSION operation
contains a ca_maxresponsesize field. The value in this field can be
taken as the absolute maximum size of backchannel replies generated
by a replying NFS version 4 client.
There are no DDP-eligible data items in callback procedures defined
in NFS versions 4.1 or 4.2. However, some callback operations (such
as messages that convey device ID information) can be large, in which
case, a Long Call or Reply might be required.
When an NFS version 4.1 client can support Long Calls in its
backchannel, it reports a backchannel ca_maxrequestsize that is
larger than the connection's inline thresholds. Otherwise, an NFS
version 4 server MUST use only Short messages to convey backchannel
operations.
<span class="grey">Lever Standards Track [Page 13]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-14" ></span>
<span class="grey"><a href="./rfc8267">RFC 8267</a> NFS on RPC-over-RDMA Version 1 October 2017</span>
<span class="h3"><a class="selflink" id="section-6.6" href="#section-6.6">6.6</a>. Session-Related Considerations</span>
The presence of an NFS session (defined in [<a href="./rfc5661" title=""Network File System (NFS) Version 4 Minor Version 1 Protocol"">RFC5661</a>]) has no effect
on the operation of RPC-over-RDMA version 1. None of the operations
introduced to support NFS sessions (e.g., the SEQUENCE operation)
contain DDP-eligible data items. There is no need to match the
number of session slots with the number of available RPC-over-RDMA
credits.
However, there are a few new cases where an RPC transaction can fail.
For example, in response to an RPC request, a requester might receive
an RDMA_ERROR message with an rdma_err value of ERR_CHUNK. These
situations are not different from existing RPC errors, which an NFS
session implementation is already prepared to handle for other
transports. And as with other transports during such a failure,
there might be no SEQUENCE result available to the requester to
distinguish whether failure occurred before or after the requested
operations were executed on the responder.
When a transport error occurs (e.g., RDMA_ERROR), the requester
proceeds as usual to match the incoming XID value to a waiting RPC
Call. The RPC transaction is terminated, and the result status is
reported to the upper-layer protocol. The requester's session
implementation then determines the session ID and slot for the failed
request and performs slot recovery to make that slot usable again.
If this were not done, that slot could be rendered permanently
unavailable.
When an NFS session is not present (for example, when NFS version 4.0
is in use), a transport error does not provide an indication of
whether the server has processed the arguments of the RPC Call or
whether the server has accessed or modified client memory associated
with that RPC.
<span class="grey">Lever Standards Track [Page 14]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-15" ></span>
<span class="grey"><a href="./rfc8267">RFC 8267</a> NFS on RPC-over-RDMA Version 1 October 2017</span>
<span class="h3"><a class="selflink" id="section-6.7" href="#section-6.7">6.7</a>. Transport Considerations</span>
<span class="h4"><a class="selflink" id="section-6.7.1" href="#section-6.7.1">6.7.1</a>. Congestion Avoidance</span>
<a href="./rfc7530#section-3.1">Section 3.1 of [RFC7530]</a> states:
Where an NFSv4 implementation supports operation over the IP
network protocol, the supported transport layer between NFS and IP
MUST be an IETF standardized transport protocol that is specified
to avoid network congestion; such transports include TCP and the
Stream Control Transmission Protocol (SCTP).
<a href="./rfc5661#section-2.9.1">Section 2.9.1 of [RFC5661]</a> also states:
Even if NFSv4.1 is used over a non-IP network protocol, it is
RECOMMENDED that the transport support congestion control.
It is permissible for a connectionless transport to be used under
NFSv4.1; however, reliable and in-order delivery of data combined
with congestion control by the connectionless transport is
REQUIRED. As a consequence, UDP by itself MUST NOT be used as an
NFSv4.1 transport.
RPC-over-RDMA version 1 is constructed on a platform of RDMA Reliable
Connections [<a href="./rfc8166" title=""Remote Direct Memory Access Transport for Remote Procedure Call Version 1"">RFC8166</a>] [<a href="./rfc5041" title=""Direct Data Placement over Reliable Transports"">RFC5041</a>]. RDMA Reliable Connections are
reliable, connection-oriented transports that guarantee in-order
delivery, thus meeting all above requirements for NFS version 4
transports.
<span class="h4"><a class="selflink" id="section-6.7.2" href="#section-6.7.2">6.7.2</a>. Retransmission and Keep-Alive</span>
NFS version 4 client implementations often rely on a transport-layer
keep-alive mechanism to detect when an NFS version 4 server has
become unresponsive. When an NFS server is no longer responsive,
client-side keep-alive terminates the connection, which in turn
triggers reconnection and RPC retransmission.
Some RDMA transports (such as Reliable Connections on InfiniBand)
have no keep-alive mechanism. Without a disconnect or new RPC
traffic, such connections can remain alive long after an NFS server
has become unresponsive. Once an NFS client has consumed all
available RPC-over-RDMA credits on that transport connection, it will
forever await a Reply before sending another RPC request.
<span class="grey">Lever Standards Track [Page 15]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-16" ></span>
<span class="grey"><a href="./rfc8267">RFC 8267</a> NFS on RPC-over-RDMA Version 1 October 2017</span>
NFS version 4 clients SHOULD reserve one RPC-over-RDMA credit to use
for a periodic server or connection health assessment. This credit
can be used to drive an RPC request on an otherwise idle connection,
triggering either a quick affirmative server response or immediate
connection termination.
In addition to network partition and request loss scenarios,
RPC-over-RDMA transport connections can be terminated when a
Transport header is malformed, Reply messages are larger than receive
resources, or when too many RPC-over-RDMA messages are sent at once.
In such cases:
o If there is a transport error indicated (i.e., RDMA_ERROR) before
the disconnect or instead of a disconnect, the requester MUST
respond to that error as prescribed by the specification of the
RPC transport. Then, the NFS version 4 rules for handling
retransmission apply.
o If there is a transport disconnect and the responder has provided
no other response for a request, then only the NFS version 4 rules
for handling retransmission apply.
<span class="h2"><a class="selflink" id="section-7" href="#section-7">7</a>. Extending NFS Upper-Layer Bindings</span>
RPC programs such as NFS are required to have an Upper-Layer Binding
specification to interoperate on RPC-over-RDMA version 1 transports
[<a href="./rfc8166" title=""Remote Direct Memory Access Transport for Remote Procedure Call Version 1"">RFC8166</a>]. Via IETF standards action, the Upper-Layer Binding
specified in this document can be extended to cover (a) versions of
the NFS version 4 protocol specified after NFS version 4 minor
version 2 or (b) separately published extensions to an existing NFS
version 4 minor version, as described in [<a href="./rfc8178" title=""Rules for NFSv4 Extensions and Minor Versions"">RFC8178</a>].
<span class="h2"><a class="selflink" id="section-8" href="#section-8">8</a>. Security Considerations</span>
RPC-over-RDMA version 1 supports all RPC security models, including
RPCSEC_GSS security and transport-level security [<a href="./rfc7861" title=""Remote Procedure Call (RPC) Security Version 3"">RFC7861</a>]. The
choice of what Direct Data Placement mechanism to convey RPC argument
and results does not affect this, since it changes only the method of
data transfer. Because this document defines only the binding of the
NFS protocols atop [<a href="./rfc8166" title=""Remote Direct Memory Access Transport for Remote Procedure Call Version 1"">RFC8166</a>], all relevant security considerations
are, therefore, to be described at that layer.
<span class="grey">Lever Standards Track [Page 16]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-17" ></span>
<span class="grey"><a href="./rfc8267">RFC 8267</a> NFS on RPC-over-RDMA Version 1 October 2017</span>
<span class="h2"><a class="selflink" id="section-9" href="#section-9">9</a>. IANA Considerations</span>
The use of Direct Data Placement in NFS introduces a need for an
additional port number assignment for networks that share traditional
UDP and TCP port spaces with RDMA services. The iWARP protocol is
such an example [<a href="./rfc5041" title=""Direct Data Placement over Reliable Transports"">RFC5041</a>] [<a href="./rfc5040" title=""A Remote Direct Memory Access Protocol Specification"">RFC5040</a>].
For this purpose, a set of transport protocol port number assignments
is specified by this document. IANA has assigned the following ports
for NFS/RDMA in the IANA port registry, according to the guidelines
described in [<a href="./rfc6335" title=""Internet Assigned Numbers Authority (IANA) Procedures for the Management of the Service Name and Transport Protocol Port Number Registry"">RFC6335</a>].
nfsrdma 20049 tcp Network File System (NFS) over RDMA
nfsrdma 20049 udp Network File System (NFS) over RDMA
nfsrdma 20049 sctp Network File System (NFS) over RDMA
This document is listed as the reference for the nfsrdma port
assignments.
<span class="h2"><a class="selflink" id="section-10" href="#section-10">10</a>. References</span>
<span class="h3"><a class="selflink" id="section-10.1" href="#section-10.1">10.1</a>. Normative References</span>
[<a id="ref-RFC1833">RFC1833</a>] Srinivasan, R., "Binding Protocols for ONC RPC Version 2",
<a href="./rfc1833">RFC 1833</a>, DOI 10.17487/RFC1833, August 1995,
<<a href="https://www.rfc-editor.org/info/rfc1833">https://www.rfc-editor.org/info/rfc1833</a>>.
[<a id="ref-RFC2119">RFC2119</a>] Bradner, S., "Key words for use in RFCs to Indicate
Requirement Levels", <a href="https://www.rfc-editor.org/bcp/bcp14">BCP 14</a>, <a href="./rfc2119">RFC 2119</a>,
DOI 10.17487/RFC2119, March 1997,
<<a href="https://www.rfc-editor.org/info/rfc2119">https://www.rfc-editor.org/info/rfc2119</a>>.
[<a id="ref-RFC5661">RFC5661</a>] Shepler, S., Ed., Eisler, M., Ed., and D. Noveck, Ed.,
"Network File System (NFS) Version 4 Minor Version 1
Protocol", <a href="./rfc5661">RFC 5661</a>, DOI 10.17487/RFC5661, January 2010,
<<a href="https://www.rfc-editor.org/info/rfc5661">https://www.rfc-editor.org/info/rfc5661</a>>.
[<a id="ref-RFC6335">RFC6335</a>] Cotton, M., Eggert, L., Touch, J., Westerlund, M., and S.
Cheshire, "Internet Assigned Numbers Authority (IANA)
Procedures for the Management of the Service Name and
Transport Protocol Port Number Registry", <a href="https://www.rfc-editor.org/bcp/bcp165">BCP 165</a>,
<a href="./rfc6335">RFC 6335</a>, DOI 10.17487/RFC6335, August 2011,
<<a href="https://www.rfc-editor.org/info/rfc6335">https://www.rfc-editor.org/info/rfc6335</a>>.
<span class="grey">Lever Standards Track [Page 17]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-18" ></span>
<span class="grey"><a href="./rfc8267">RFC 8267</a> NFS on RPC-over-RDMA Version 1 October 2017</span>
[<a id="ref-RFC7530">RFC7530</a>] Haynes, T., Ed. and D. Noveck, Ed., "Network File System
(NFS) Version 4 Protocol", <a href="./rfc7530">RFC 7530</a>, DOI 10.17487/RFC7530,
March 2015, <<a href="https://www.rfc-editor.org/info/rfc7530">https://www.rfc-editor.org/info/rfc7530</a>>.
[<a id="ref-RFC7861">RFC7861</a>] Adamson, A. and N. Williams, "Remote Procedure Call (RPC)
Security Version 3", <a href="./rfc7861">RFC 7861</a>, DOI 10.17487/RFC7861,
November 2016, <<a href="https://www.rfc-editor.org/info/rfc7861">https://www.rfc-editor.org/info/rfc7861</a>>.
[<a id="ref-RFC7862">RFC7862</a>] Haynes, T., "Network File System (NFS) Version 4 Minor
Version 2 Protocol", <a href="./rfc7862">RFC 7862</a>, DOI 10.17487/RFC7862,
November 2016, <<a href="https://www.rfc-editor.org/info/rfc7862">https://www.rfc-editor.org/info/rfc7862</a>>.
[<a id="ref-RFC8166">RFC8166</a>] Lever, C., Ed., Simpson, W., and T. Talpey, "Remote Direct
Memory Access Transport for Remote Procedure Call Version
1", <a href="./rfc8166">RFC 8166</a>, DOI 10.17487/RFC8166, June 2017,
<<a href="https://www.rfc-editor.org/info/rfc8166">https://www.rfc-editor.org/info/rfc8166</a>>.
[<a id="ref-RFC8167">RFC8167</a>] Lever, C., "Bidirectional Remote Procedure Call on RPC-
over-RDMA Transports", <a href="./rfc8167">RFC 8167</a>, DOI 10.17487/RFC8167,
June 2017, <<a href="https://www.rfc-editor.org/info/rfc8167">https://www.rfc-editor.org/info/rfc8167</a>>.
[<a id="ref-RFC8174">RFC8174</a>] Leiba, B., "Ambiguity of Uppercase vs Lowercase in <a href="./rfc2119">RFC</a>
<a href="./rfc2119">2119</a> Key Words", <a href="https://www.rfc-editor.org/bcp/bcp14">BCP 14</a>, <a href="./rfc8174">RFC 8174</a>, DOI 10.17487/RFC8174,
May 2017, <<a href="https://www.rfc-editor.org/info/rfc8174">https://www.rfc-editor.org/info/rfc8174</a>>.
<span class="h3"><a class="selflink" id="section-10.2" href="#section-10.2">10.2</a>. Informative References</span>
[<a id="ref-RFC1094">RFC1094</a>] Nowicki, B., "NFS: Network File System Protocol
specification", <a href="./rfc1094">RFC 1094</a>, DOI 10.17487/RFC1094, March
1989, <<a href="https://www.rfc-editor.org/info/rfc1094">https://www.rfc-editor.org/info/rfc1094</a>>.
[<a id="ref-RFC1813">RFC1813</a>] Callaghan, B., Pawlowski, B., and P. Staubach, "NFS
Version 3 Protocol Specification", <a href="./rfc1813">RFC 1813</a>,
DOI 10.17487/RFC1813, June 1995,
<<a href="https://www.rfc-editor.org/info/rfc1813">https://www.rfc-editor.org/info/rfc1813</a>>.
[<a id="ref-RFC5040">RFC5040</a>] Recio, R., Metzler, B., Culley, P., Hilland, J., and D.
Garcia, "A Remote Direct Memory Access Protocol
Specification", <a href="./rfc5040">RFC 5040</a>, DOI 10.17487/RFC5040, October
2007, <<a href="https://www.rfc-editor.org/info/rfc5040">https://www.rfc-editor.org/info/rfc5040</a>>.
[<a id="ref-RFC5041">RFC5041</a>] Shah, H., Pinkerton, J., Recio, R., and P. Culley, "Direct
Data Placement over Reliable Transports", <a href="./rfc5041">RFC 5041</a>,
DOI 10.17487/RFC5041, October 2007,
<<a href="https://www.rfc-editor.org/info/rfc5041">https://www.rfc-editor.org/info/rfc5041</a>>.
<span class="grey">Lever Standards Track [Page 18]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-19" ></span>
<span class="grey"><a href="./rfc8267">RFC 8267</a> NFS on RPC-over-RDMA Version 1 October 2017</span>
[<a id="ref-RFC5666">RFC5666</a>] Talpey, T. and B. Callaghan, "Remote Direct Memory Access
Transport for Remote Procedure Call", <a href="./rfc5666">RFC 5666</a>,
DOI 10.17487/RFC5666, January 2010,
<<a href="https://www.rfc-editor.org/info/rfc5666">https://www.rfc-editor.org/info/rfc5666</a>>.
[<a id="ref-RFC5667">RFC5667</a>] Talpey, T. and B. Callaghan, "Network File System (NFS)
Direct Data Placement", <a href="./rfc5667">RFC 5667</a>, DOI 10.17487/RFC5667,
January 2010, <<a href="https://www.rfc-editor.org/info/rfc5667">https://www.rfc-editor.org/info/rfc5667</a>>.
[<a id="ref-RFC8178">RFC8178</a>] Noveck, D., "Rules for NFSv4 Extensions and Minor
Versions", <a href="./rfc8178">RFC 8178</a>, DOI 10.17487/RFC8178, July 2017,
<<a href="https://www.rfc-editor.org/info/rfc8178">https://www.rfc-editor.org/info/rfc8178</a>>.
[<a id="ref-XNFS">XNFS</a>] The Open Group, "Protocols for Interworking: XNFS, Version
3W", Document Number C702, ISBN 1-85912-184-5, February
1998.
<span class="grey">Lever Standards Track [Page 19]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-20" ></span>
<span class="grey"><a href="./rfc8267">RFC 8267</a> NFS on RPC-over-RDMA Version 1 October 2017</span>
<span class="h2"><a class="selflink" id="appendix-A" href="#appendix-A">Appendix A</a>. Changes Since <a href="./rfc5667">RFC 5667</a></span>
Corrections and updates made necessary by new language in [<a href="./rfc8166" title=""Remote Direct Memory Access Transport for Remote Procedure Call Version 1"">RFC8166</a>]
have been introduced. For example, references to deprecated features
of RPC-over-RDMA version 1 (such as RDMA_MSGP) and the use of the
Read list for handling RPC Replies have been removed. The term
"mapping" has been replaced with the term "binding" or "Upper-Layer
Binding" throughout the document. Material that duplicates what is
in [<a href="./rfc8166" title=""Remote Direct Memory Access Transport for Remote Procedure Call Version 1"">RFC8166</a>] has been deleted.
Material required by [<a href="./rfc8166" title=""Remote Direct Memory Access Transport for Remote Procedure Call Version 1"">RFC8166</a>] for Upper-Layer Bindings that was not
present in [<a href="./rfc5667" title=""Network File System (NFS) Direct Data Placement"">RFC5667</a>] has been added. A complete discussion of reply
size estimation has been introduced for all protocols covered by the
Upper-Layer Bindings in this document.
Technical corrections have been made. For example, the mention of
12KB and 36KB inline thresholds has been removed. The reference to a
nonexistent NFS version 4 SYMLINK operation has been replaced.
The discussion of NFS version 4 COMPOUND handling has been completed.
Some changes were made to the algorithm for matching DDP-eligible
results to Write chunks.
Requirements to ignore extra Read or Write chunks have been removed
from the NFS versions 2 and 3 Upper-Layer Binding, as they conflict
with [<a href="./rfc8166" title=""Remote Direct Memory Access Transport for Remote Procedure Call Version 1"">RFC8166</a>].
A section discussing NFS version 4 retransmission and connection loss
has been added.
The following additional improvements have been made, relative to
[<a href="./rfc5667" title=""Network File System (NFS) Direct Data Placement"">RFC5667</a>]:
o An explicit discussion of NFS versions 4.0 and 4.1 backchannel
operation have replaced the previous treatment of callback
operations.
o A section describing considerations when an NFS session is in use
has been added.
o An Upper-Layer Binding for NFS version 4.2 has been added.
o A section suggesting a mechanism for periodically assessing
connection health has been introduced.
o Ambiguous or erroneous uses of key words from <a href="./rfc2119">RFC 2119</a> have been
corrected.
<span class="grey">Lever Standards Track [Page 20]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-21" ></span>
<span class="grey"><a href="./rfc8267">RFC 8267</a> NFS on RPC-over-RDMA Version 1 October 2017</span>
o References to obsolete RFCs have been updated.
o An IANA Considerations section has been added, which specifies the
port assignments for NFS/RDMA. This replaces the example
assignment that appeared in [<a href="./rfc5666" title=""Remote Direct Memory Access Transport for Remote Procedure Call"">RFC5666</a>].
o Code excerpts have been removed, and figures have been modernized.
Acknowledgments
The author gratefully acknowledges the work of Brent Callaghan and
Tom Talpey on the original NFS Direct Data Placement specification
[<a href="./rfc5667" title=""Network File System (NFS) Direct Data Placement"">RFC5667</a>]. Tom contributed the text of <a href="#section-6.4.2">Section 6.4.2</a>.
Dave Noveck provided an excellent review, constructive suggestions,
and consistent navigational guidance throughout the process of
drafting this document. Dave contributed the text of Sections <a href="#section-6.6">6.6</a>
and 7 and insisted on precise discussion of reply size estimation.
Thanks to Karen Deitke for her sharp observations about idempotency,
NFS COMPOUNDs, and NFS sessions.
Special thanks go to Transport Area Director Spencer Dawkins, NFSV4
Working Group Chair and Document Shepherd Spencer Shepler, and NFSV4
Working Group Secretary Thomas Haynes for their support. The author
also wishes to thank Bill Baker and Greg Marsden for their support of
this work.
Author's Address
Charles Lever
Oracle Corporation
1015 Granger Avenue
Ann Arbor, MI 48104
United States of America
Phone: +1 248 816 6463
Email: chuck.lever@oracle.com
Lever Standards Track [Page 21]
</pre>
|