thebeanogamer / rpms / qemu-kvm

Forked from rpms/qemu-kvm 5 months ago
Clone

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

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