+ /* Virtual memory I/O threads stuff */
+ pthread_t io_threads[REDIS_VM_MAX_THREADS];
+ /* An I/O thread process an element taken from the io_jobs queue and
+ * put the result of the operation in the io_done list. */
+ list *io_jobs; /* List of VM I/O jobs */
+ list *io_done; /* List of VM processed jobs */
+ list *io_clients; /* All the clients waiting for SWAP I/O operations */
+ pthread_mutex_t io_mutex; /* lock to access io_jobs and io_done */
+ int io_active_threads; /* Number of running I/O threads */
+ int vm_max_threads; /* Max number of I/O threads running at the same time */