Merge pull request #375 from zmarano/master

Enable SCSI block multiqueue for GCE Stretch images.
This commit is contained in:
Anders Ingemann 2017-05-02 22:02:12 +02:00 committed by GitHub
commit 9ac970b715

View file

@ -12,3 +12,7 @@ class ConfigureGrub(Task):
def run(cls, info):
info.grub_config['GRUB_CMDLINE_LINUX'].append('console=ttyS0,38400n8')
info.grub_config['GRUB_CMDLINE_LINUX'].append('elevator=noop')
# Enable SCSI block multiqueue on Stretch.
from bootstrapvz.common.releases import stretch
if info.manifest.release >= stretch:
info.grub_config['GRUB_CMDLINE_LINUX'].append('scsi_mod.use_blk_mq=Y')