xen-blkback: add a parameter for disabling of persistent grants
authorSeongJae Park <sjpark@amazon.de>
Wed, 23 Sep 2020 06:18:39 +0000 (08:18 +0200)
committerBoris Ostrovsky <boris.ostrovsky@oracle.com>
Wed, 21 Oct 2020 12:15:13 +0000 (07:15 -0500)
commitaac8a70db24bd3916b9ddce1761e500771356b6b
tree8ee9b85e9dd2fdf536e0a0cc0e591dbbecc00774
parent5f7f77400ab5b357b5fdb7122c3442239672186c
xen-blkback: add a parameter for disabling of persistent grants

Persistent grants feature provides high scalability.  On some small
systems, however, it could incur data copy overheads[1] and thus it is
required to be disabled.  But, there is no option to disable it.  For
the reason, this commit adds a module parameter for disabling of the
feature.

[1] https://wiki.xen.org/wiki/Xen_4.3_Block_Protocol_Scalability

Signed-off-by: Anthony Liguori <aliguori@amazon.com>
Signed-off-by: SeongJae Park <sjpark@amazon.de>
Reviewed-by: Juergen Gross <jgross@suse.com>
Acked-by: Roger Pau Monné <roger.pau@citrix.com>
Link: https://lore.kernel.org/r/20200923061841.20531-2-sjpark@amazon.com
Signed-off-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Documentation/ABI/testing/sysfs-driver-xen-blkback
drivers/block/xen-blkback/xenbus.c