€•×5Œ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Œ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ŒvDevice-Mapper's "delay" target delays reads and/or writes and/or flushs and optionally maps them to different devices.”h]”hŒ|Device-Mapper’s “delay†target delays reads and/or writes and/or flushs 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”…””}”(hhõ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”…””}”(hjhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jhŸh¶h Khj ubhŒ 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”…””}”(hj#hžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h·hŸh¶h Khj ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhj ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jhŸh¶h Khjubj )”}”(hŒ„9: same as 6 arguments plus define flush_offset and flush_delay explicitely on/with optionally different flush_device/flush_offset. ”h]”(j)”}”(hŒK9: same as 6 arguments plus define flush_offset and flush_delay explicitely”h]”hŒK9: same as 6 arguments plus define flush_offset and flush_delay explicitely”…””}”(hjAhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jhŸh¶h Khj=ubj)”}”(hhh]”h¸)”}”(hŒ7on/with optionally different flush_device/flush_offset.”h]”hŒ7on/with optionally different flush_device/flush_offset.”…””}”(hjRhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h·hŸh¶h KhjOubah}”(h]”h ]”h"]”h$]”h&]”uh1jhj=ubeh}”(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.”…””}”(hjrhž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&]”uh1jhŸh¶h K%hj¢ubj)”}”(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&]”uh1jhj¢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 )”}”(hX9:: #!/bin/sh # # Create mapped device delaying write and flush operations for 400ms and # splitting reads to device $1 but writes and flushs 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Œ::”…””}”(hjòhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jhŸh¶h K.hjîubj)”}”(hhh]”h¸)”}”(hX5#!/bin/sh # # Create mapped device delaying write and flush operations for 400ms and # splitting reads to device $1 but writes and flushs 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 flushs 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”…””}”(hj hž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&]”uh1jhjî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 )”}”(hŒó:: #!/bin/sh # # Create mapped device delaying reads for 50ms, writes for 100ms and flushs 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Œ::”…””}”(hj<hžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jhŸh¶h K5hj8ubj)”}”(hhh]”h¸)”}”(hŒð#!/bin/sh # # Create mapped device delaying reads for 50ms, writes for 100ms and flushs 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 flushs for 333ms # onto the same backing device at offset 0 sectors. # dmsetup create delayed --table “0 ”…””}”(hjMhžhhŸNh NubjÀ)”}”(hŒ`blockdev --getsz $1`”h]”hŒblockdev --getsz $1”…””}”(hjUhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j¿hjMubhŒ# delay $1 0 50 $2 0 100 $1 0 333—…””}”(hjMhžhhŸNh Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1h·hŸh¶h K1hjJubah}”(h]”h ]”h"]”h$]”h&]”uh1jhj8ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jhŸh¶h K5hj5ubah}”(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Œj‰j„juŒ nametypes”}”(jŒ‰j„‰uh}”(j‰h£jjŽ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.”…””}”(hjhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h·hjubah}”(h]”h ]”h"]”h$]”h&]”Œlevel”KŒtype”ŒINFO”Œline”K Œsource”h¶uh1jhjŽ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.”…””}”(hj5hžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h·hj2ubah}”(h]”h ]”h"]”h$]”h&]”Œlevel”KŒtype”j/Œline”K&Œsource”h¶uh1jhj´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.”…””}”(hjPhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h·hjMubah}”(h]”h ]”h"]”h$]”h&]”Œlevel”KŒtype”j/Œline”K'Œsource”h¶uh1jhjŽ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.”…””}”(hjkhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h·hjhubah}”(h]”h ]”h"]”h$]”h&]”Œlevel”KŒtype”j/Œline”K/Œsource”h¶uh1jhjubj)”}”(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”j/Œline”K0Œsource”h¶uh1jhjŽ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”j/Œline”K6Œsource”h¶uh1jhjJubeŒtransform_messages”]”Œ transformer”NŒ include_log”]”Œ decoration”Nhžhub.