cryptospore / rpms / qemu-kvm

Forked from rpms/qemu-kvm 2 years ago
Clone

Blame SOURCES/kvm-block-add-opt_transfer_length-to-BlockLimits.patch.patch

0a122b
From e8ab7aeb0b874fa5f2dfecb9826154d3ab0e35ee Mon Sep 17 00:00:00 2001
0a122b
Message-Id: <e8ab7aeb0b874fa5f2dfecb9826154d3ab0e35ee.1389014116.git.minovotn@redhat.com>
0a122b
In-Reply-To: <c8cc35838d42aa286242772d97e3a9be7bb786ba.1389014116.git.minovotn@redhat.com>
0a122b
References: <c8cc35838d42aa286242772d97e3a9be7bb786ba.1389014116.git.minovotn@redhat.com>
0a122b
From: Paolo Bonzini <pbonzini@redhat.com>
0a122b
Date: Mon, 9 Dec 2013 14:09:34 +0100
0a122b
Subject: [PATCH 46/50] block: add opt_transfer_length to BlockLimits
0a122b
0a122b
RH-Author: Paolo Bonzini <pbonzini@redhat.com>
0a122b
Message-id: <1386598178-11845-49-git-send-email-pbonzini@redhat.com>
0a122b
Patchwork-id: 56085
0a122b
O-Subject: [RHEL 7.0 qemu-kvm PATCH 48/52] block: add opt_transfer_length to BlockLimits
0a122b
Bugzilla: 1039557
0a122b
RH-Acked-by: Jeffrey Cody <jcody@redhat.com>
0a122b
RH-Acked-by: Fam Zheng <famz@redhat.com>
0a122b
RH-Acked-by: Stefan Hajnoczi <stefanha@redhat.com>
0a122b
0a122b
From: Peter Lieven <pl@kamp.de>
0a122b
0a122b
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
0a122b
Signed-off-by: Peter Lieven <pl@kamp.de>
0a122b
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
0a122b
(cherry picked from commit 7337acaf219fc988e7ba91780b11770ff95169b4)
0a122b
---
0a122b
 include/block/block_int.h | 3 +++
0a122b
 1 file changed, 3 insertions(+)
0a122b
0a122b
Signed-off-by: Michal Novotny <minovotn@redhat.com>
0a122b
---
0a122b
 include/block/block_int.h | 3 +++
0a122b
 1 file changed, 3 insertions(+)
0a122b
0a122b
diff --git a/include/block/block_int.h b/include/block/block_int.h
0a122b
index ab98c07..71c8b53 100644
0a122b
--- a/include/block/block_int.h
0a122b
+++ b/include/block/block_int.h
0a122b
@@ -231,6 +231,9 @@ typedef struct BlockLimits {
0a122b
 
0a122b
     /* optimal alignment for write zeroes requests in sectors */
0a122b
     int64_t write_zeroes_alignment;
0a122b
+
0a122b
+    /* optimal transfer length in sectors */
0a122b
+    int opt_transfer_length;
0a122b
 } BlockLimits;
0a122b
 
0a122b
 /*
0a122b
-- 
0a122b
1.7.11.7
0a122b