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:
Daniel Verkamp 2017-05-10 16:08:58 -07:00 committed by Jim Harris
parent dba5490000
commit 93f7d910c6

View File

@ -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;