€•á!Œsphinx.addnodes”Œdocument”“”)”}”(Œ rawsource”Œ”Œchildren”]”(Œ translations”Œ LanguagesNode”“”)”}”(hhh]”(hŒ pending_xref”“”)”}”(hhh]”Œdocutils.nodes”ŒText”“”ŒChinese (Simplified)”…””}”Œparent”hsbaŒ attributes”}”(Œids”]”Œclasses”]”Œnames”]”Œdupnames”]”Œbackrefs”]”Œ refdomain”Œstd”Œreftype”Œdoc”Œ reftarget”Œ9/translations/zh_CN/admin-guide/nfs/nfsd-admin-interfaces”Œmodname”NŒ classname”NŒ refexplicit”ˆuŒtagname”hhh ubh)”}”(hhh]”hŒChinese (Traditional)”…””}”hh2sbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ9/translations/zh_TW/admin-guide/nfs/nfsd-admin-interfaces”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒItalian”…””}”hhFsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ9/translations/it_IT/admin-guide/nfs/nfsd-admin-interfaces”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒJapanese”…””}”hhZsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ9/translations/ja_JP/admin-guide/nfs/nfsd-admin-interfaces”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒKorean”…””}”hhnsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ9/translations/ko_KR/admin-guide/nfs/nfsd-admin-interfaces”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒSpanish”…””}”hh‚sbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ9/translations/sp_SP/admin-guide/nfs/nfsd-admin-interfaces”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubeh}”(h]”h ]”h"]”h$]”h&]”Œcurrent_language”ŒEnglish”uh1h hhŒ _document”hŒsource”NŒline”NubhŒsection”“”)”}”(hhh]”(hŒtitle”“”)”}”(hŒ"Administrative interfaces for nfsd”h]”hŒ"Administrative interfaces for nfsd”…””}”(hh¨hžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h¦hh£hžhhŸŒS/var/lib/git/docbuild/linux/Documentation/admin-guide/nfs/nfsd-admin-interfaces.rst”h KubhŒ paragraph”“”)”}”(hŒPNote that normally these interfaces are used only by the utilities in nfs-utils.”h]”hŒPNote that normally these interfaces are used only by the utilities in nfs-utils.”…””}”(hh¹hžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h·hŸh¶h Khh£hžhubh¸)”}”(hŒrnfsd is controlled mainly by pseudofiles under the "nfsd" filesystem, which is normally mounted at /proc/fs/nfsd/.”h]”hŒvnfsd is controlled mainly by pseudofiles under the “nfsd†filesystem, which is normally mounted at /proc/fs/nfsd/.”…””}”(hhÇhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h·hŸh¶h Khh£hžhubh¸)”}”(hŒSThe server is always started by the first write of a nonzero value to nfsd/threads.”h]”hŒSThe server is always started by the first write of a nonzero value to nfsd/threads.”…””}”(hhÕhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h·hŸh¶h K hh£hžhubh¸)”}”(hŒnBefore doing that, NFSD can be told which sockets to listen on by writing to nfsd/portlist; that write may be:”h]”hŒnBefore doing that, NFSD can be told which sockets to listen on by writing to nfsd/portlist; that write may be:”…””}”(hhãhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h·hŸh¶h Khh£hžhubhŒ block_quote”“”)”}”(hŒÇ- an ascii-encoded file descriptor, which should refer to a bound (and listening, for tcp) socket, or - "transportname port", where transportname is currently either "udp", "tcp", or "rdma". ”h]”hŒ bullet_list”“”)”}”(hhh]”(hŒ list_item”“”)”}”(hŒcan ascii-encoded file descriptor, which should refer to a bound (and listening, for tcp) socket, or”h]”h¸)”}”(hŒcan ascii-encoded file descriptor, which should refer to a bound (and listening, for tcp) socket, or”h]”hŒcan ascii-encoded file descriptor, which should refer to a bound (and listening, for tcp) socket, or”…””}”(hjhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h·hŸh¶h Khhþubah}”(h]”h ]”h"]”h$]”h&]”uh1hühhùubhý)”}”(hŒW"transportname port", where transportname is currently either "udp", "tcp", or "rdma". ”h]”h¸)”}”(hŒV"transportname port", where transportname is currently either "udp", "tcp", or "rdma".”h]”hŒf“transportname portâ€, where transportname is currently either “udpâ€, “tcpâ€, or “rdmaâ€.”…””}”(hjhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h·hŸh¶h Khjubah}”(h]”h ]”h"]”h$]”h&]”uh1hühhùubeh}”(h]”h ]”h"]”h$]”h&]”Œbullet”Œ-”uh1h÷hŸh¶h Khhóubah}”(h]”h ]”h"]”h$]”h&]”uh1hñhŸh¶h Khh£hžhubh¸)”}”(hŒƒIf nfsd is started without doing any of these, then it will create one udp and one tcp listener at port 2049 (see nfsd_init_socks).”h]”hŒƒIf nfsd is started without doing any of these, then it will create one udp and one tcp listener at port 2049 (see nfsd_init_socks).”…””}”(hj<hžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h·hŸh¶h Khh£hžhubh¸)”}”(hŒ–On startup, nfsd and lockd grace periods start. nfsd is shut down by a write of 0 to nfsd/threads. All locks and state are thrown away at that point.”h]”hŒ–On startup, nfsd and lockd grace periods start. nfsd is shut down by a write of 0 to nfsd/threads. All locks and state are thrown away at that point.”…””}”(hjJhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h·hŸh¶h Khh£hžhubh¸)”}”(hŒ–Between startup and shutdown, the number of threads may be adjusted up or down by additional writes to nfsd/threads or by writes to nfsd/pool_threads.”h]”hŒ–Between startup and shutdown, the number of threads may be adjusted up or down by additional writes to nfsd/threads or by writes to nfsd/pool_threads.”…””}”(hjXhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h·hŸh¶h Khh£hžhubh¸)”}”(hŒyFor more detail about files under nfsd/ and what they control, see fs/nfsd/nfsctl.c; most of them have detailed comments.”h]”hŒyFor more detail about files under nfsd/ and what they control, see fs/nfsd/nfsctl.c; most of them have detailed comments.”…””}”(hjfhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h·hŸh¶h K hh£hžhubh¢)”}”(hhh]”(h§)”}”(hŒImplementation notes”h]”hŒImplementation notes”…””}”(hjwhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h¦hjthžhhŸh¶h K$ubh¸)”}”(hŒ´Note that the rpc server requires the caller to serialize addition and removal of listening sockets, and startup and shutdown of the server. For nfsd this is done using nfsd_mutex.”h]”hŒ´Note that the rpc server requires the caller to serialize addition and removal of listening sockets, and startup and shutdown of the server. For nfsd this is done using nfsd_mutex.”…””}”(hj…hžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h·hŸh¶h K&hjthžhubeh}”(h]”Œimplementation-notes”ah ]”h"]”Œimplementation notes”ah$]”h&]”uh1h¡hh£hžhhŸh¶h K$ubeh}”(h]”Œ"administrative-interfaces-for-nfsd”ah ]”h"]”Œ"administrative interfaces for nfsd”ah$]”h&]”uh1h¡hhhžhhŸh¶h Kubeh}”(h]”h ]”h"]”h$]”h&]”Œsource”h¶uh1hŒcurrent_source”NŒ current_line”NŒsettings”Œdocutils.frontend”ŒValues”“”)”}”(h¦NŒ generator”NŒ datestamp”NŒ source_link”NŒ source_url”NŒ toc_backlinks”Œentry”Œfootnote_backlinks”KŒ sectnum_xform”KŒstrip_comments”NŒstrip_elements_with_classes”NŒ strip_classes”NŒ report_level”KŒ halt_level”KŒexit_status_level”KŒdebug”NŒwarning_stream”NŒ traceback”ˆŒinput_encoding”Œ utf-8-sig”Œinput_encoding_error_handler”Œstrict”Œoutput_encoding”Œutf-8”Œoutput_encoding_error_handler”jÆŒerror_encoding”Œutf-8”Œerror_encoding_error_handler”Œbackslashreplace”Œ language_code”Œen”Œrecord_dependencies”NŒconfig”NŒ id_prefix”hŒauto_id_prefix”Œid”Œ dump_settings”NŒdump_internals”NŒdump_transforms”NŒdump_pseudo_xml”NŒexpose_internals”NŒstrict_visitor”NŒ_disable_config”NŒ_source”h¶Œ _destination”NŒ _config_files”]”Œ7/var/lib/git/docbuild/linux/Documentation/docutils.conf”aŒfile_insertion_enabled”ˆŒ raw_enabled”KŒline_length_limit”M'Œpep_references”NŒ pep_base_url”Œhttps://peps.python.org/”Œpep_file_url_template”Œpep-%04d”Œrfc_references”NŒ rfc_base_url”Œ&https://datatracker.ietf.org/doc/html/”Œ tab_width”KŒtrim_footnote_reference_space”‰Œsyntax_highlight”Œlong”Œ smart_quotes”ˆŒsmartquotes_locales”]”Œcharacter_level_inline_markup”‰Œdoctitle_xform”‰Œ docinfo_xform”KŒsectsubtitle_xform”‰Œ image_loading”Œlink”Œembed_stylesheet”‰Œcloak_email_addresses”ˆŒsection_self_link”‰Œenv”NubŒreporter”NŒindirect_targets”]”Œsubstitution_defs”}”Œsubstitution_names”}”Œrefnames”}”Œrefids”}”Œnameids”}”(j jj˜j•uŒ nametypes”}”(j ‰j˜‰uh}”(jh£j•jtuŒ footnote_refs”}”Œ citation_refs”}”Œ autofootnotes”]”Œautofootnote_refs”]”Œsymbol_footnotes”]”Œsymbol_footnote_refs”]”Œ footnotes”]”Œ citations”]”Œautofootnote_start”KŒsymbol_footnote_start”KŒ id_counter”Œ collections”ŒCounter”“”}”…”R”Œparse_messages”]”Œtransform_messages”]”Œ transformer”NŒ include_log”]”Œ decoration”Nhžhub.