]> 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)
commite39c1c92cd410e4fff41d74e3a8fcc05ed21e596
treef563297238066c0bc69526fabd04f0ead31550fa
parente06da285af58dac54aee9b0919f2174d027344c0
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