File rtslib-add-prot-info-attributes.patch of Package python-rtslib

diff -aurp rtslib-2.2.orig/policy/backstore_fileio.lio rtslib-2.2/policy/backstore_fileio.lio
--- rtslib-2.2.orig/policy/backstore_fileio.lio	2014-06-26 11:43:19.659423631 -0700
+++ rtslib-2.2/policy/backstore_fileio.lio	2014-06-26 11:41:47.503419450 -0700
@@ -23,6 +23,8 @@ storage fileio disk %str {
         max_unmap_lba_count %int(8192)
         max_write_same_len %int(4096)
         optimal_sectors %int(8192)
+	pi_prot_format %bool(no)
+	pi_prot_type %int(0)
         queue_depth %int(128)
         unmap_granularity %int(1)
         unmap_granularity_alignment %int(0)
diff -aurp rtslib-2.2.orig/policy/backstore_ramdisk.lio rtslib-2.2/policy/backstore_ramdisk.lio
--- rtslib-2.2.orig/policy/backstore_ramdisk.lio	2014-06-26 11:43:19.659423631 -0700
+++ rtslib-2.2/policy/backstore_ramdisk.lio	2014-06-26 11:41:47.503419450 -0700
@@ -22,6 +22,8 @@ storage rd_mcp disk %str {
         max_unmap_lba_count %bool(no)
         max_write_same_len %int(0)
         optimal_sectors %int(1024)
+	pi_prot_format %bool(no)
+	pi_prot_type %int(0)
         queue_depth %int(32)
         unmap_granularity %bool(no)
         unmap_granularity_alignment %bool(no)
diff -aurp rtslib-2.2.orig/policy/fabric_ib_srpt.lio rtslib-2.2/policy/fabric_ib_srpt.lio
--- rtslib-2.2.orig/policy/fabric_ib_srpt.lio	2014-06-26 11:43:19.659423631 -0700
+++ rtslib-2.2/policy/fabric_ib_srpt.lio	2014-06-26 11:42:27.007421242 -0700
@@ -39,6 +39,7 @@ fabric ib_srpt {
             login_timeout %int(15)
             netif_timeout %int(2)
             prod_mode_write_protect %bool(no)
+	    t10_pi %bool(no)
         }
         lun %int backend %backend
         parameter {
diff -aurp rtslib-2.2.orig/policy/fabric_iscsi.lio rtslib-2.2/policy/fabric_iscsi.lio
--- rtslib-2.2.orig/policy/fabric_iscsi.lio	2014-06-26 11:43:19.663423631 -0700
+++ rtslib-2.2/policy/fabric_iscsi.lio	2014-06-26 11:42:27.007421242 -0700
@@ -48,6 +48,7 @@ fabric iscsi {
             login_timeout %int(15)
             netif_timeout %int(2)
             prod_mode_write_protect %bool(no)
+	    t10_pi %bool(no)
         }
         lun %int backend %backend
         parameter {
diff -aurp rtslib-2.2.orig/policy/fabric_qla2xxx.lio rtslib-2.2/policy/fabric_qla2xxx.lio
--- rtslib-2.2.orig/policy/fabric_qla2xxx.lio	2014-06-26 11:43:19.663423631 -0700
+++ rtslib-2.2/policy/fabric_qla2xxx.lio	2014-06-26 11:42:27.007421242 -0700
@@ -39,6 +39,7 @@ fabric qla2xxx {
             login_timeout %int(15)
             netif_timeout %int(2)
             prod_mode_write_protect %bool(no)
+	    t10_pi %bool(no)
         }
         lun %int backend %backend
         parameter {
diff -aurp rtslib-2.2.orig/policy/fabric_tcm_fc.lio rtslib-2.2/policy/fabric_tcm_fc.lio
--- rtslib-2.2.orig/policy/fabric_tcm_fc.lio	2014-06-26 11:43:19.663423631 -0700
+++ rtslib-2.2/policy/fabric_tcm_fc.lio	2014-06-26 11:42:27.007421242 -0700
@@ -39,6 +39,7 @@ fabric tcm_fc {
             login_timeout %int(15)
             netif_timeout %int(2)
             prod_mode_write_protect %bool(no)
+	    t10_pi %bool(no)
         }
         lun %int backend %backend
         parameter {
openSUSE Build Service is sponsored by