€•¾6Œ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”Œ3/translations/zh_CN/admin-guide/device-mapper/delay”Œmodname”NŒ classname”NŒ refexplicit”ˆuŒtagname”hhh ubh)”}”(hhh]”hŒChinese (Traditional)”…””}”hh2sbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ3/translations/zh_TW/admin-guide/device-mapper/delay”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒItalian”…””}”hhFsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ3/translations/it_IT/admin-guide/device-mapper/delay”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒJapanese”…””}”hhZsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ3/translations/ja_JP/admin-guide/device-mapper/delay”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒKorean”…””}”hhnsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ3/translations/ko_KR/admin-guide/device-mapper/delay”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒPortuguese (Brazilian)”…””}”hh‚sbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ3/translations/pt_BR/admin-guide/device-mapper/delay”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒSpanish”…””}”hh–sbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ3/translations/sp_SP/admin-guide/device-mapper/delay”Œ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Œdm-delay”h]”hŒdm-delay”…””}”(hh¼h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hºhh·h²hh³ŒM/var/lib/git/docbuild/linux/Documentation/admin-guide/device-mapper/delay.rst”h´KubhŒ paragraph”“”)”}”(hŒwDevice-Mapper's "delay" target delays reads and/or writes and/or flushes and optionally maps them to different devices.”h]”hŒ}Device-Mapper’s “delay†target delays reads and/or writes and/or flushes and optionally maps them to different devices.”…””}”(hhÍh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Khh·h²hubhÌ)”}”(hŒ Arguments::”h]”hŒ Arguments:”…””}”(hhÛh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Khh·h²hubhŒ literal_block”“”)”}”(hŒ [ [ ]]”h]”hŒ [ [ ]]”…””}”hhësbah}”(h]”h ]”h"]”h$]”h&]”Œ xml:space”Œpreserve”uh1héh³hÊh´K hh·h²hubhÌ)”}”(hŒ2Table line has to either have 3, 6 or 9 arguments:”h]”hŒ2Table line has to either have 3, 6 or 9 arguments:”…””}”(hhûh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´K hh·h²hubhÌ)”}”(hŒG3: apply offset and delay to read, write and flush operations on device”h]”hŒG3: apply offset and delay to read, write and flush operations on device”…””}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Khh·h²hubhŒdefinition_list”“”)”}”(hhh]”(hŒdefinition_list_item”“”)”}”(hŒ¸6: apply offset and delay to device, also apply write_offset and write_delay to write and flush operations on optionally different write_device with optionally different sector offset ”h]”(hŒterm”“”)”}”(hŒL6: apply offset and delay to device, also apply write_offset and write_delay”h]”hŒL6: apply offset and delay to device, also apply write_offset and write_delay”…””}”(hj$h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j"h³hÊh´KhjubhŒ definition”“”)”}”(hhh]”hÌ)”}”(hŒjto write and flush operations on optionally different write_device with optionally different sector offset”h]”hŒjto write and flush operations on optionally different write_device with optionally different sector offset”…””}”(hj7h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Khj4ubah}”(h]”h ]”h"]”h$]”h&]”uh1j2hjubeh}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÊh´Khjubj)”}”(hŒƒ9: same as 6 arguments plus define flush_offset and flush_delay explicitly on/with optionally different flush_device/flush_offset. ”h]”(j#)”}”(hŒJ9: same as 6 arguments plus define flush_offset and flush_delay explicitly”h]”hŒJ9: same as 6 arguments plus define flush_offset and flush_delay explicitly”…””}”(hjUh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j"h³hÊh´KhjQubj3)”}”(hhh]”hÌ)”}”(hŒ7on/with optionally different flush_device/flush_offset.”h]”hŒ7on/with optionally different flush_device/flush_offset.”…””}”(hjfh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Khjcubah}”(h]”h ]”h"]”h$]”h&]”uh1j2hjQubeh}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÊh´Khjh²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1jhh·h²hh³hÊh´NubhÌ)”}”(hŒ!Offsets are specified in sectors.”h]”hŒ!Offsets are specified in sectors.”…””}”(hj†h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Khh·h²hubhÌ)”}”(hŒ%Delays are specified in milliseconds.”h]”hŒ%Delays are specified in milliseconds.”…””}”(hj”h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´Khh·h²hubh¶)”}”(hhh]”(h»)”}”(hŒExample scripts”h]”hŒExample scripts”…””}”(hj¥h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hºhj¢h²hh³hÊh´Kubj)”}”(hhh]”j)”}”(hŒ¶:: #!/bin/sh # # Create mapped device named "delayed" delaying read, write and flush operations for 500ms. # dmsetup create delayed --table "0 `blockdev --getsz $1` delay $1 0 500" ”h]”(j#)”}”(hŒ::”h]”hŒ::”…””}”(hjºh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j"h³hÊh´K%hj¶ubj3)”}”(hhh]”hÌ)”}”(hŒ²#!/bin/sh # # Create mapped device named "delayed" delaying read, write and flush operations for 500ms. # dmsetup create delayed --table "0 `blockdev --getsz $1` delay $1 0 500"”h]”(hŒ“#!/bin/sh # # Create mapped device named “delayed†delaying read, write and flush operations for 500ms. # dmsetup create delayed --table “0 ”…””}”(hjËh²hh³Nh´NubhŒtitle_reference”“”)”}”(hŒ`blockdev --getsz $1`”h]”hŒblockdev --getsz $1”…””}”(hjÕh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÓhjËubhŒ delay $1 0 500—…””}”(hjËh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´K!hjÈubah}”(h]”h ]”h"]”h$]”h&]”uh1j2hj¶ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÊh´K%hj³ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhj¢h²hh³hÊh´Nubj)”}”(hhh]”j)”}”(hX::: #!/bin/sh # # Create mapped device delaying write and flush operations for 400ms and # splitting reads to device $1 but writes and flushes to different device $2 # to different offsets of 2048 and 4096 sectors respectively. # dmsetup create delayed --table "0 `blockdev --getsz $1` delay $1 2048 0 $2 4096 400" ”h]”(j#)”}”(hŒ::”h]”hŒ::”…””}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j"h³hÊh´K.hjubj3)”}”(hhh]”hÌ)”}”(hX6#!/bin/sh # # Create mapped device delaying write and flush operations for 400ms and # splitting reads to device $1 but writes and flushes to different device $2 # to different offsets of 2048 and 4096 sectors respectively. # dmsetup create delayed --table "0 `blockdev --getsz $1` delay $1 2048 0 $2 4096 400"”h]”(hX#!/bin/sh # # Create mapped device delaying write and flush operations for 400ms and # splitting reads to device $1 but writes and flushes to different device $2 # to different offsets of 2048 and 4096 sectors respectively. # dmsetup create delayed --table “0 ”…””}”(hjh²hh³Nh´NubjÔ)”}”(hŒ`blockdev --getsz $1`”h]”hŒblockdev --getsz $1”…””}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÓhjubhŒ delay $1 2048 0 $2 4096 400—…””}”(hjh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´K(hjubah}”(h]”h ]”h"]”h$]”h&]”uh1j2hjubeh}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÊh´K.hjÿubah}”(h]”h ]”h"]”h$]”h&]”uh1jhj¢h²hh³hÊh´Nubj)”}”(hhh]”j)”}”(hŒô:: #!/bin/sh # # Create mapped device delaying reads for 50ms, writes for 100ms and flushes for 333ms # onto the same backing device at offset 0 sectors. # dmsetup create delayed --table "0 `blockdev --getsz $1` delay $1 0 50 $2 0 100 $1 0 333"”h]”(j#)”}”(hŒ::”h]”hŒ::”…””}”(hjPh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j"h³hÊh´K5hjLubj3)”}”(hhh]”hÌ)”}”(hŒñ#!/bin/sh # # Create mapped device delaying reads for 50ms, writes for 100ms and flushes for 333ms # onto the same backing device at offset 0 sectors. # dmsetup create delayed --table "0 `blockdev --getsz $1` delay $1 0 50 $2 0 100 $1 0 333"”h]”(hŒ½#!/bin/sh # # Create mapped device delaying reads for 50ms, writes for 100ms and flushes for 333ms # onto the same backing device at offset 0 sectors. # dmsetup create delayed --table “0 ”…””}”(hjah²hh³Nh´NubjÔ)”}”(hŒ`blockdev --getsz $1`”h]”hŒblockdev --getsz $1”…””}”(hjih²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÓhjaubhŒ# delay $1 0 50 $2 0 100 $1 0 333—…””}”(hjah²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hËh³hÊh´K1hj^ubah}”(h]”h ]”h"]”h$]”h&]”uh1j2hjLubeh}”(h]”h ]”h"]”h$]”h&]”uh1jh³hÊh´K5hjIubah}”(h]”h ]”h"]”h$]”h&]”uh1jhj¢h²hh³hÊh´Nubeh}”(h]”Œexample-scripts”ah ]”h"]”Œexample scripts”ah$]”h&]”uh1hµhh·h²hh³hÊh´Kubeh}”(h]”Œdm-delay”ah ]”h"]”Œdm-delay”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•j¢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”]”(hŒsystem_message”“”)”}”(hhh]”hÌ)”}”(hŒ`Possible incomplete section title. Treating the overline as ordinary text because it's so short.”h]”hŒbPossible incomplete section title. Treating the overline as ordinary text because it’s so short.”…””}”(hj-h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËhj*ubah}”(h]”h ]”h"]”h$]”h&]”Œlevel”KŒtype”ŒINFO”Œline”K Œsource”hÊuh1j(hj¢h²hh³hÊh´K"ubj))”}”(hhh]”hÌ)”}”(hŒ`Blank line missing before literal block (after the "::")? Interpreted as a definition list item.”h]”hŒdBlank line missing before literal block (after the “::â€)? Interpreted as a definition list item.”…””}”(hjIh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËhjFubah}”(h]”h ]”h"]”h$]”h&]”Œlevel”KŒtype”jCŒline”K&Œsource”hÊuh1j(hjÈubj))”}”(hhh]”hÌ)”}”(hŒ`Possible incomplete section title. Treating the overline as ordinary text because it's so short.”h]”hŒbPossible incomplete section title. Treating the overline as ordinary text because it’s so short.”…””}”(hjdh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËhjaubah}”(h]”h ]”h"]”h$]”h&]”Œlevel”KŒtype”jCŒline”K'Œsource”hÊuh1j(hj¢h²hh³hÊh´K)ubj))”}”(hhh]”hÌ)”}”(hŒ`Blank line missing before literal block (after the "::")? Interpreted as a definition list item.”h]”hŒdBlank line missing before literal block (after the “::â€)? Interpreted as a definition list item.”…””}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËhj|ubah}”(h]”h ]”h"]”h$]”h&]”Œlevel”KŒtype”jCŒline”K/Œsource”hÊuh1j(hjubj))”}”(hhh]”hÌ)”}”(hŒ`Possible incomplete section title. Treating the overline as ordinary text because it's so short.”h]”hŒbPossible incomplete section title. Treating the overline as ordinary text because it’s so short.”…””}”(hjšh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËhj—ubah}”(h]”h ]”h"]”h$]”h&]”Œlevel”KŒtype”jCŒline”K0Œsource”hÊuh1j(hj¢h²hh³hÊh´K2ubj))”}”(hhh]”hÌ)”}”(hŒ`Blank line missing before literal block (after the "::")? Interpreted as a definition list item.”h]”hŒdBlank line missing before literal block (after the “::â€)? Interpreted as a definition list item.”…””}”(hjµh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hËhj²ubah}”(h]”h ]”h"]”h$]”h&]”Œlevel”KŒtype”jCŒline”K6Œsource”hÊuh1j(hj^ubeŒtransform_messages”]”Œ transformer”NŒ include_log”]”Œ decoration”Nh²hub.