nvme/fio_plugin: make file-level variables static
These variables are not needed outside of this file. Change-Id: I577db5140fb4156100e72e6219c8121304a9b137 Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com>
This commit is contained in:
parent
dba5490000
commit
93f7d910c6
@ -44,7 +44,7 @@
|
||||
|
||||
#define NVME_IO_ALIGN 4096
|
||||
|
||||
bool spdk_env_initialized;
|
||||
static bool spdk_env_initialized;
|
||||
|
||||
struct spdk_fio_request {
|
||||
struct io_u *io;
|
||||
@ -59,9 +59,9 @@ struct spdk_fio_ctrlr {
|
||||
struct spdk_fio_ctrlr *next;
|
||||
};
|
||||
|
||||
struct spdk_fio_ctrlr *ctrlr_g;
|
||||
int td_count;
|
||||
pthread_mutex_t mutex = PTHREAD_MUTEX_INITIALIZER;
|
||||
static struct spdk_fio_ctrlr *ctrlr_g;
|
||||
static int td_count;
|
||||
static pthread_mutex_t mutex = PTHREAD_MUTEX_INITIALIZER;
|
||||
|
||||
struct spdk_fio_qpair {
|
||||
struct fio_file *f;
|
||||
|
Loading…
Reference in New Issue
Block a user