You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
qemu/include/block
Eric Blake ff12e6a5ff nbd/server: Allow users to adjust handshake limit in QMP
Although defaulting the handshake limit to 10 seconds was a nice QoI
change to weed out intentionally slow clients, it can interfere with
integration testing done with manual NBD_OPT commands over 'nbdsh
--opt-mode'.  Expose a QMP knob 'handshake-max-secs' to allow the user
to alter the timeout away from the default.

The parameter name here intentionally matches the spelling of the
constant added in commit fb1c2aaa98, and not the command-line spelling
added in the previous patch for qemu-nbd; that's because in QMP,
longer names serve as good self-documentation, and unlike the command
line, machines don't have problems generating longer spellings.

Signed-off-by: Eric Blake <eblake@redhat.com>
Message-ID: <20250203222722.650694-6-eblake@redhat.com>
[eblake: s/max-secs/max-seconds/ in QMP]
Acked-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@yandex-team.ru>
2 weeks ago
..
accounting.h block: add accounting for zone append operation 2 years ago
aio-wait.h system/cpus: rename qemu_mutex_lock_iothread() to bql_lock() 1 year ago
aio.h include: Move QemuLockCnt APIs to their own header 4 months ago
aio_task.h block: Remove unused aio_task_pool_empty 5 months ago
block-common.h block: remove unused BLOCK_OP_TYPE_DATAPLANE 2 weeks ago
block-copy.h copy-before-write: allow specifying minimum cluster size 5 months ago
block-global-state.h block: Add blockdev-set-active QMP command 2 weeks ago
block-hmp-cmds.h include/block: Untangle inclusion loops 2 years ago
block-io.h block: remove outdated AioContext locking comments 1 year ago
block.h include/block: Untangle inclusion loops 2 years ago
block_backup.h include/block: Untangle inclusion loops 2 years ago
block_int-common.h include: Include missing 'qemu/clang-tsa.h' header 2 months ago
block_int-global-state.h qapi: blockdev-backup: add discard-source parameter 9 months ago
block_int-io.h block: Mark bdrv_cow_child() and callers GRAPH_RDLOCK 1 year ago
block_int.h include/block: Untangle inclusion loops 2 years ago
blockjob.h Rename "QEMU global mutex" to "BQL" in comments and docs 1 year ago
blockjob_int.h block: Mark block_job_add_bdrv() GRAPH_WRLOCK 1 year ago
dirty-bitmap.h block: Mark bdrv_*_dirty_bitmap() and callers GRAPH_RDLOCK 2 years ago
export.h block/export: Add option to allow export of inactive nodes 2 weeks ago
fuse.h fuse: Allow exporting BDSs via FUSE 4 years ago
graph-lock.h block/graph-lock: Make WITH_GRAPH_RDLOCK_GUARD() fully checked 7 months ago
nbd.h nbd/server: Allow users to adjust handshake limit in QMP 2 weeks ago
nvme.h hw/nvme: add NPDAL/NPDGL 4 months ago
qapi.h block: Mark bdrv_get_parent_name() and callers GRAPH_RDLOCK 1 year ago
qdict.h qapi: Move include/qapi/qmp/ to include/qobject/ 2 weeks ago
raw-aio.h linux-aio: add IO_CMD_FDSYNC command support 9 months ago
replication.h replication: move include out of root directory 4 years ago
reqlist.h block/reqlist: add reqlist_wait_all() 3 years ago
snapshot.h block: remove AioContext locking 1 year ago
thread-pool.h thread-pool: avoid passing the pool parameter every time 2 years ago
throttle-groups.h block/throttle-groups: Use ThrottleDirection instread of bool is_write 2 years ago
ufs.h hw/ufs: minor bug fixes related to ufs-test 6 months ago
write-threshold.h block: Clean up includes 2 years ago