svn commit: r279651 - head/sys/dev/virtio/block

Alexander Motin mav at FreeBSD.org
Thu Mar 5 10:29:47 UTC 2015


Author: mav
Date: Thu Mar  5 10:29:46 2015
New Revision: 279651
URL: https://svnweb.freebsd.org/changeset/base/279651

Log:
  Size of opt_io_size field is 32 bit.
  
  MFC after:	2 weeks

Modified:
  head/sys/dev/virtio/block/virtio_blk.h

Modified: head/sys/dev/virtio/block/virtio_blk.h
==============================================================================
--- head/sys/dev/virtio/block/virtio_blk.h	Thu Mar  5 10:23:38 2015	(r279650)
+++ head/sys/dev/virtio/block/virtio_blk.h	Thu Mar  5 10:29:46 2015	(r279651)
@@ -67,7 +67,7 @@ struct virtio_blk_config {
 		uint8_t physical_block_exp;
 		uint8_t alignment_offset;
 		uint16_t min_io_size;
-		uint16_t opt_io_size;
+		uint32_t opt_io_size;
 	} topology;
 
 	/* Writeback mode (if VIRTIO_BLK_F_CONFIG_WCE) */


More information about the svn-src-head mailing list