]> git.baikalelectronics.ru Git - kernel.git/commit
xen-blkfront: add a parameter for disabling of persistent grants
authorSeongJae Park <sjpark@amazon.de>
Wed, 23 Sep 2020 06:18:40 +0000 (08:18 +0200)
committerBoris Ostrovsky <boris.ostrovsky@oracle.com>
Wed, 21 Oct 2020 12:15:15 +0000 (07:15 -0500)
commit74a852479c68e4efb3865d5436fd69ec4f819f96
treef563297238066c0bc69526fabd04f0ead31550fa
parentaac8a70db24bd3916b9ddce1761e500771356b6b
xen-blkfront: 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.  It can be disabled from blkback side using a
module parameter, 'feature_persistent'.  But, it is impossible from
blkfront side.  For the reason, this commit adds a blkfront module
parameter for disabling of the feature.

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

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-3-sjpark@amazon.com
Signed-off-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Documentation/ABI/testing/sysfs-driver-xen-blkfront
drivers/block/xen-blkfront.c