diff mbox

[PATCHv2,1.8,4/9] block: add opt_transfer_length to BlockLimits

Message ID 1385456183-24840-5-git-send-email-pl@kamp.de
State New
Headers show

Commit Message

Peter Lieven Nov. 26, 2013, 8:56 a.m. UTC
Signed-off-by: Peter Lieven <pl@kamp.de>
---
 include/block/block_int.h |    3 +++
 1 file changed, 3 insertions(+)

Comments

Paolo Bonzini Nov. 26, 2013, 9:47 a.m. UTC | #1
Il 26/11/2013 09:56, Peter Lieven ha scritto:
> Signed-off-by: Peter Lieven <pl@kamp.de>
> ---
>  include/block/block_int.h |    3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/include/block/block_int.h b/include/block/block_int.h
> index 95140b6..6499516 100644
> --- a/include/block/block_int.h
> +++ b/include/block/block_int.h
> @@ -242,6 +242,9 @@ typedef struct BlockLimits {
>  
>      /* optimal alignment for write zeroes requests in sectors */
>      int64_t write_zeroes_alignment;
> +    
> +    /* optimal transfer length in sectors */
> +    int opt_transfer_length;
>  } BlockLimits;
>  
>  /*
> 

Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
diff mbox

Patch

diff --git a/include/block/block_int.h b/include/block/block_int.h
index 95140b6..6499516 100644
--- a/include/block/block_int.h
+++ b/include/block/block_int.h
@@ -242,6 +242,9 @@  typedef struct BlockLimits {
 
     /* optimal alignment for write zeroes requests in sectors */
     int64_t write_zeroes_alignment;
+    
+    /* optimal transfer length in sectors */
+    int opt_transfer_length;
 } BlockLimits;
 
 /*