]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite06da285af58dac54aee9b0919f2174d027344c0
tree8ee9b85e9dd2fdf536e0a0cc0e591dbbecc00774
parent52fae1b8c3eb48f6c3bddb07822fd87869dbe968
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