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

[Xen-devel] [PATCH] xen-blkfront: rename indirect descriptor parameter

"max" is rather ambiguous and carries pretty little meaning, the more
that there are also "max_queues" and "max_ring_page_order". Make this
"max_indirect_segments" instead, and at once change the type from int
to uint (to match the respective variable's type).

Signed-off-by: Jan Beulich <jbeulich@xxxxxxxx>
 drivers/block/xen-blkfront.c |    6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

--- 4.5-rc3/drivers/block/xen-blkfront.c
+++ 4.5-rc3-xen-blkfront-max-param/drivers/block/xen-blkfront.c
@@ -125,8 +125,10 @@ static const struct block_device_operati
 static unsigned int xen_blkif_max_segments = 32;
-module_param_named(max, xen_blkif_max_segments, int, S_IRUGO);
-MODULE_PARM_DESC(max, "Maximum amount of segments in indirect requests 
(default is 32)");
+module_param_named(max_indirect_segments, xen_blkif_max_segments, uint,
+                  S_IRUGO);
+                "Maximum amount of segments in indirect requests (default is 
 static unsigned int xen_blkif_max_queues = 4;
 module_param_named(max_queues, xen_blkif_max_queues, uint, S_IRUGO);

Xen-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.