diff options
author | Peng Fan <van.freenix@gmail.com> | 2015-11-25 18:26:01 +0800 |
---|---|---|
committer | Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> | 2016-01-04 12:21:04 -0500 |
commit | 45fc82642e54018740a25444d1165901501b601b (patch) | |
tree | f4000f4605eed8bb6be33ec0b2dc2c750e45eac3 /drivers/block/xen-blkback/common.h | |
parent | 73716df7da4f60dd2d59a9302227d0394f1b8fcc (diff) | |
download | op-kernel-dev-45fc82642e54018740a25444d1165901501b601b.zip op-kernel-dev-45fc82642e54018740a25444d1165901501b601b.tar.gz |
xen/blkfront: correct setting for xen_blkif_max_ring_order
According to this piece code:
"
pr_info("Invalid max_ring_order (%d), will use default max: %d.\n",
xen_blkif_max_ring_order, XENBUS_MAX_RING_GRANT_ORDER);
"
if xen_blkif_max_ring_order is bigger that XENBUS_MAX_RING_GRANT_ORDER,
need to set xen_blkif_max_ring_order using XENBUS_MAX_RING_GRANT_ORDER,
but not 0.
Signed-off-by: Peng Fan <van.freenix@gmail.com>
Cc: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Cc: David Vrabel <david.vrabel@citrix.com>
Cc: "Roger Pau Monné" <roger.pau@citrix.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Diffstat (limited to 'drivers/block/xen-blkback/common.h')
0 files changed, 0 insertions, 0 deletions