]> git.baikalelectronics.ru Git - kernel.git/commit
sunvdc: Add support for setting physical sector size
authorLiam R. Howlett <Liam.Howlett@Oracle.com>
Wed, 1 Feb 2017 19:09:26 +0000 (14:09 -0500)
committerDavid S. Miller <davem@davemloft.net>
Thu, 23 Feb 2017 16:24:08 +0000 (08:24 -0800)
commit539c95658cf53d736d27d7db55dfe95f6f00fe3f
tree59565c721f92d6322dd5ac7c32c5a9958296a7ee
parent6ccddb32d5c71e844db87bc6b81cd562bb71f174
sunvdc: Add support for setting physical sector size

Physical sector size is supported in v1.2 of the vDisk protocol and
should be set if available.  If protocol version 1.2 is used and the
physical disk size is unavailable, then the disk is considered busy.

Signed-off-by: Liam R. Howlett <Liam.Howlett@Oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/block/sunvdc.c