€•ùSŒ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”Œ/translations/zh_CN/block/pr”Œmodname”NŒ classname”NŒ refexplicit”ˆuŒtagname”hhh ubh)”}”(hhh]”hŒChinese (Traditional)”…””}”hh2sbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ/translations/zh_TW/block/pr”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒItalian”…””}”hhFsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ/translations/it_IT/block/pr”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒJapanese”…””}”hhZsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ/translations/ja_JP/block/pr”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒKorean”…””}”hhnsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ/translations/ko_KR/block/pr”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒPortuguese (Brazilian)”…””}”hh‚sbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ/translations/pt_BR/block/pr”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒSpanish”…””}”hh–sbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ/translations/sp_SP/block/pr”Œ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Œ/Block layer support for Persistent Reservations”h]”hŒ/Block layer support for Persistent Reservations”…””}”(hh¼h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hºhh·h²hh³Œ6/var/lib/git/docbuild/linux/Documentation/block/pr.rst”h´KubhŒ paragraph”“”)”}”(hXThe Linux kernel supports a user space interface for simplified Persistent Reservations which map to block devices that support these (like SCSI). Persistent Reservations allow restricting access to block devices to specific initiators in a shared storage setup.”h]”hXThe Linux kernel supports a user space interface for simplified Persistent Reservations which map to block devices that support these (like SCSI). Persistent Reservations allow restricting access to block devices to specific initiators in a shared storage setup.”…””}”(hhÍh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Khh·h²hubhÌ)”}”(hXThis document gives a general overview of the support ioctl commands. For a more detailed reference please refer to the SCSI Primary Commands standard, specifically the section on Reservations and the "PERSISTENT RESERVE IN" and "PERSISTENT RESERVE OUT" commands.”h]”hXThis document gives a general overview of the support ioctl commands. For a more detailed reference please refer to the SCSI Primary Commands standard, specifically the section on Reservations and the “PERSISTENT RESERVE IN†and “PERSISTENT RESERVE OUT†commands.”…””}”(hhÛh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´K hh·h²hubhÌ)”}”(hŒ×All implementations are expected to ensure the reservations survive a power loss and cover all connections in a multi path environment. These behaviors are optional in SPC but will be automatically applied by Linux.”h]”hŒ×All implementations are expected to ensure the reservations survive a power loss and cover all connections in a multi path environment. These behaviors are optional in SPC but will be automatically applied by Linux.”…””}”(hhéh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Khh·h²hubh¶)”}”(hhh]”(h»)”}”(hŒ2The following types of reservations are supported:”h]”hŒ2The following types of reservations are supported:”…””}”(hhúh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hºhh÷h²hh³hÊh´KubhŒ block_quote”“”)”}”(hX}- PR_WRITE_EXCLUSIVE Only the initiator that owns the reservation can write to the device. Any initiator can read from the device. - PR_EXCLUSIVE_ACCESS Only the initiator that owns the reservation can access the device. - PR_WRITE_EXCLUSIVE_REG_ONLY Only initiators with a registered key can write to the device, Any initiator can read from the device. - PR_EXCLUSIVE_ACCESS_REG_ONLY Only initiators with a registered key can access the device. - PR_WRITE_EXCLUSIVE_ALL_REGS Only initiators with a registered key can write to the device, Any initiator can read from the device. All initiators with a registered key are considered reservation holders. Please reference the SPC spec on the meaning of a reservation holder if you want to use this type. - PR_EXCLUSIVE_ACCESS_ALL_REGS Only initiators with a registered key can access the device. All initiators with a registered key are considered reservation holders. Please reference the SPC spec on the meaning of a reservation holder if you want to use this type. ”h]”hŒ bullet_list”“”)”}”(hhh]”(hŒ list_item”“”)”}”(hŒŒPR_WRITE_EXCLUSIVE Only the initiator that owns the reservation can write to the device. Any initiator can read from the device. ”h]”hŒdefinition_list”“”)”}”(hhh]”hŒdefinition_list_item”“”)”}”(hŒ‚PR_WRITE_EXCLUSIVE Only the initiator that owns the reservation can write to the device. Any initiator can read from the device. ”h]”(hŒterm”“”)”}”(hŒPR_WRITE_EXCLUSIVE”h]”hŒPR_WRITE_EXCLUSIVE”…””}”(hj&h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j$h³hÊh´Khj ubhŒ definition”“”)”}”(hhh]”hÌ)”}”(hŒnOnly the initiator that owns the reservation can write to the device. Any initiator can read from the device.”h]”hŒnOnly the initiator that owns the reservation can write to the device. Any initiator can read from the device.”…””}”(hj9h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Khj6ubah}”(h]”h ]”h"]”h$]”h&]”uh1j4hj ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÊh´Khjubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjubj)”}”(hŒbPR_EXCLUSIVE_ACCESS Only the initiator that owns the reservation can access the device. ”h]”j)”}”(hhh]”j)”}”(hŒXPR_EXCLUSIVE_ACCESS Only the initiator that owns the reservation can access the device. ”h]”(j%)”}”(hŒPR_EXCLUSIVE_ACCESS”h]”hŒPR_EXCLUSIVE_ACCESS”…””}”(hjjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j$h³hÊh´Khjfubj5)”}”(hhh]”hÌ)”}”(hŒCOnly the initiator that owns the reservation can access the device.”h]”hŒCOnly the initiator that owns the reservation can access the device.”…””}”(hj{h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Khjxubah}”(h]”h ]”h"]”h$]”h&]”uh1j4hjfubeh}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÊh´Khjcubah}”(h]”h ]”h"]”h$]”h&]”uh1jhj_ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjubj)”}”(hŒPR_WRITE_EXCLUSIVE_REG_ONLY Only initiators with a registered key can write to the device, Any initiator can read from the device. ”h]”j)”}”(hhh]”j)”}”(hŒƒPR_WRITE_EXCLUSIVE_REG_ONLY Only initiators with a registered key can write to the device, Any initiator can read from the device. ”h]”(j%)”}”(hŒPR_WRITE_EXCLUSIVE_REG_ONLY”h]”hŒPR_WRITE_EXCLUSIVE_REG_ONLY”…””}”(hj¬h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j$h³hÊh´K#hj¨ubj5)”}”(hhh]”hÌ)”}”(hŒfOnly initiators with a registered key can write to the device, Any initiator can read from the device.”h]”hŒfOnly initiators with a registered key can write to the device, Any initiator can read from the device.”…””}”(hj½h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´K"hjºubah}”(h]”h ]”h"]”h$]”h&]”uh1j4hj¨ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÊh´K#hj¥ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhj¡ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjubj)”}”(hŒ_PR_EXCLUSIVE_ACCESS_REG_ONLY Only initiators with a registered key can access the device. ”h]”j)”}”(hhh]”j)”}”(hŒZPR_EXCLUSIVE_ACCESS_REG_ONLY Only initiators with a registered key can access the device. ”h]”(j%)”}”(hŒPR_EXCLUSIVE_ACCESS_REG_ONLY”h]”hŒPR_EXCLUSIVE_ACCESS_REG_ONLY”…””}”(hjîh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j$h³hÊh´K&hjêubj5)”}”(hhh]”hÌ)”}”(hŒj;jejbjŒj‰j³j°jEjBuŒ nametypes”}”(jM‰jª‰j»‰jð‰j‰j>‰je‰jŒ‰j³‰jE‰uh}”(jJh·j§h÷j¸j­jíj¾jjój;jjbjAj‰jhj°jjBj¾uŒ 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.