rpc: fix python style
A bunch of python files in rpc and scripts directories were missing two blank lines after the opening comments. python3-pycodestyle-2.5.0-2.el8 was unhappy with this Signed-off-by: Mike Gerdts <mgerdts@nvidia.com> Change-Id: Iee7f2bd4f0ddd96b2be89949a3aa324b2f9ea43a Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/16003 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
This commit is contained in:
parent
5dcb6e2426
commit
555ca7adc0
@ -2,6 +2,7 @@
|
||||
# Copyright (C) 2017 Intel Corporation.
|
||||
# All rights reserved.
|
||||
|
||||
|
||||
def spdk_kill_instance(client, sig_name):
|
||||
"""Send a signal to the SPDK process.
|
||||
|
||||
|
@ -2,6 +2,7 @@
|
||||
# Copyright (C) 2017 Intel Corporation.
|
||||
# All rights reserved.
|
||||
|
||||
|
||||
def bdev_set_options(client, bdev_io_pool_size=None, bdev_io_cache_size=None, bdev_auto_examine=None,
|
||||
small_buf_pool_size=None, large_buf_pool_size=None):
|
||||
"""Set parameters for the bdev subsystem.
|
||||
|
@ -2,6 +2,7 @@
|
||||
# Copyright (C) 2019 Intel Corporation.
|
||||
# All rights reserved.
|
||||
|
||||
|
||||
def blobfs_detect(client, bdev_name):
|
||||
"""Detect whether a blobfs exists on bdev.
|
||||
|
||||
|
@ -2,6 +2,7 @@
|
||||
# Copyright (C) 2019 Intel Corporation.
|
||||
# All rights reserved.
|
||||
|
||||
|
||||
def env_dpdk_get_mem_stats(client):
|
||||
"""Dump the applications memory stats to a file.
|
||||
|
||||
|
@ -2,6 +2,7 @@
|
||||
# Copyright (C) 2017 Intel Corporation.
|
||||
# All rights reserved.
|
||||
|
||||
|
||||
def iscsi_set_options(
|
||||
client,
|
||||
auth_file=None,
|
||||
|
@ -2,6 +2,7 @@
|
||||
# Copyright (C) 2017 Intel Corporation.
|
||||
# All rights reserved.
|
||||
|
||||
|
||||
def log_set_flag(client, flag):
|
||||
"""Set log flag.
|
||||
|
||||
|
@ -2,6 +2,7 @@
|
||||
# Copyright (C) 2017 Intel Corporation.
|
||||
# All rights reserved.
|
||||
|
||||
|
||||
def bdev_lvol_create_lvstore(client, bdev_name, lvs_name, cluster_sz=None,
|
||||
clear_method=None, num_md_pages_per_cluster_ratio=None):
|
||||
"""Construct a logical volume store.
|
||||
|
@ -2,6 +2,7 @@
|
||||
# Copyright (C) 2017 Intel Corporation.
|
||||
# All rights reserved.
|
||||
|
||||
|
||||
def nbd_start_disk(client, bdev_name, nbd_device):
|
||||
params = {
|
||||
'bdev_name': bdev_name
|
||||
|
@ -2,6 +2,7 @@
|
||||
# Copyright (C) 2018 Intel Corporation.
|
||||
# All rights reserved.
|
||||
|
||||
|
||||
def notify_get_types(client):
|
||||
return client.call("notify_get_types")
|
||||
|
||||
|
@ -2,6 +2,7 @@
|
||||
# Copyright (C) 2018 Intel Corporation.
|
||||
# All rights reserved.
|
||||
|
||||
|
||||
def bdev_nvme_send_cmd(client, name, cmd_type, data_direction, cmdbuf,
|
||||
data=None, metadata=None,
|
||||
data_len=None, metadata_len=None,
|
||||
|
@ -2,6 +2,7 @@
|
||||
# Copyright (C) 2017 Intel Corporation.
|
||||
# All rights reserved.
|
||||
|
||||
|
||||
def bdev_pmem_create_pool(client, pmem_file, num_blocks, block_size):
|
||||
"""Create pmem pool at specified path.
|
||||
Args:
|
||||
|
@ -2,6 +2,7 @@
|
||||
# Copyright (C) 2021 Intel Corporation.
|
||||
# All rights reserved.
|
||||
|
||||
|
||||
def sock_impl_get_options(client, impl_name=None):
|
||||
"""Get parameters for the socket layer implementation.
|
||||
|
||||
|
@ -2,6 +2,7 @@
|
||||
# Copyright (C) 2018 Intel Corporation.
|
||||
# All rights reserved.
|
||||
|
||||
|
||||
def framework_get_subsystems(client):
|
||||
return client.call('framework_get_subsystems')
|
||||
|
||||
|
@ -2,6 +2,7 @@
|
||||
# Copyright (C) 2018 Intel Corporation.
|
||||
# All rights reserved.
|
||||
|
||||
|
||||
def trace_enable_tpoint_group(client, name):
|
||||
"""Enable trace on a specific tpoint group.
|
||||
|
||||
|
@ -2,6 +2,7 @@
|
||||
# Copyright (C) 2022 Intel Corporation.
|
||||
# All rights reserved.
|
||||
|
||||
|
||||
def vfu_tgt_set_base_path(client, path):
|
||||
"""Set socket base path.
|
||||
|
||||
|
@ -4,6 +4,7 @@
|
||||
# All rights reserved.
|
||||
#
|
||||
|
||||
|
||||
from argparse import ArgumentParser
|
||||
from dataclasses import dataclass, field
|
||||
from itertools import islice
|
||||
|
Loading…
Reference in New Issue
Block a user