Re: [PATCH] sunvdc: add cdrom and v1.1 protocol support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Allen Pais <allen.pais@xxxxxxxxxx>
Date: Fri, 19 Sep 2014 09:42:14 -0400

> Interpret the media type from v1.1 protocol to support CDROM/DVD.
> 
> For v1.0 protocol, a disk's size continues to be calculated from the
> geometry returned by the vdisk server. The geometry returned by the server
> can be less than the actual number of sectors available in the backing
> image/device due to the rounding in the division used to compute the
> geometry in the vdisk server.
> 
> In v1.1 protocol a disk's actual size in sectors is returned during the
> handshake. Use this size when v1.1 protocol is negotiated. Since this size
> will always be larger than the former geometry computed size, disks created
> under v1.0 will be forwards compatible to v1.1, but not vice versa.
> 
> Signed-off-by: Dwight Engen <dwight.engen@xxxxxxxxxx>

Applied.
--
To unsubscribe from this list: send the line "unsubscribe sparclinux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Kernel Development]     [DCCP]     [Linux ARM Development]     [Linux]     [Photo]     [Yosemite Help]     [Linux ARM Kernel]     [Linux SCSI]     [Linux x86_64]     [Linux Hams]

  Powered by Linux