mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-08-04 19:32:23 +00:00
ui: qemu/HDEdit: add 'aio' advanced option
so that users can change it more easily if necessary Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
parent
2b28954745
commit
f68d8b2c54
@ -92,6 +92,7 @@ Ext.define('PVE.qemu.HDInputPanel', {
|
||||
PVE.Utils.propertyStringSet(me.drive, values.iothread, 'iothread', 'on');
|
||||
PVE.Utils.propertyStringSet(me.drive, values.readOnly, 'ro', 'on');
|
||||
PVE.Utils.propertyStringSet(me.drive, values.cache, 'cache');
|
||||
PVE.Utils.propertyStringSet(me.drive, values.aio, 'aio');
|
||||
|
||||
['mbps_rd', 'mbps_wr', 'iops_rd', 'iops_wr'].forEach(name => {
|
||||
let burst_name = `${name}_max`;
|
||||
@ -151,6 +152,7 @@ Ext.define('PVE.qemu.HDInputPanel', {
|
||||
values.ssd = PVE.Parser.parseBoolean(drive.ssd);
|
||||
values.iothread = PVE.Parser.parseBoolean(drive.iothread);
|
||||
values.readOnly = PVE.Parser.parseBoolean(drive.ro);
|
||||
values.aio = drive.aio || '__default__';
|
||||
|
||||
values.mbps_rd = drive.mbps_rd;
|
||||
values.mbps_wr = drive.mbps_wr;
|
||||
@ -307,6 +309,20 @@ Ext.define('PVE.qemu.HDInputPanel', {
|
||||
labelWidth: labelWidth,
|
||||
name: 'noreplicate',
|
||||
},
|
||||
{
|
||||
xtype: 'proxmoxKVComboBox',
|
||||
name: 'aio',
|
||||
fieldLabel: gettext('Async IO'),
|
||||
allowBlank: false,
|
||||
value: '__default__',
|
||||
labelWidth: labelWidth,
|
||||
comboItems: [
|
||||
['__default__', Proxmox.Utils.defaultText + ' (io_uring)'],
|
||||
['io_uring', 'io_uring'],
|
||||
['native', 'native'],
|
||||
['threads', 'threads'],
|
||||
],
|
||||
},
|
||||
);
|
||||
|
||||
let bwColumn1 = [
|
||||
|
Loading…
Reference in New Issue
Block a user