File rtslib-add-iblock-backstore-policy.patch of Package python-rtslib

diff --unidirectional-new-file -aurp rtslib-2.2.orig/policy/backstore_iblock.lio rtslib-2.2/policy/backstore_iblock.lio
--- rtslib-2.2.orig/policy/backstore_iblock.lio	1969-12-31 16:00:00.000000000 -0800
+++ rtslib-2.2/policy/backstore_iblock.lio	2014-07-11 10:38:56.028996415 -0700
@@ -0,0 +1,28 @@
+storage iblock disk %str {
+    path %str 
+    attribute {
+        block_size %int(512)
+        emulate_3pc %bool(yes)
+        emulate_caw %bool(yes)
+        emulate_dpo %bool(no)
+        emulate_fua_read %bool(no)
+        emulate_fua_write %bool(yes)
+        emulate_model_alias %bool(no)
+        emulate_rest_reord %bool(no)
+        emulate_tas %bool(yes)
+        emulate_tpu %bool(no)
+        emulate_tpws %bool(no)
+        emulate_ua_intlck_ctrl %bool(no)
+        emulate_write_cache %bool(no)
+        enforce_pr_isids %bool(yes)
+        fabric_max_sectors %int(8192)
+        is_nonrot %bool(yes)
+        max_unmap_block_desc_count %int(0)
+        max_unmap_lba_count %int(0)
+        max_write_same_len %int(65535)
+        optimal_sectors %int(8192)
+        queue_depth %int(128)
+        unmap_granularity %int(0)
+        unmap_granularity_alignment %int(0)
+    }
+}
openSUSE Build Service is sponsored by