Stopped NBD writes from committing all-zero blocks to disc (tentative, needs
further testing).
This commit is contained in:
2
params.h
2
params.h
@@ -31,7 +31,6 @@ struct mode_serve_params {
|
||||
int server;
|
||||
int threads;
|
||||
|
||||
pthread_mutex_t block_allocation_map_lock;
|
||||
char* block_allocation_map;
|
||||
};
|
||||
|
||||
@@ -51,7 +50,6 @@ struct client_params {
|
||||
off64_t size;
|
||||
char* mapped;
|
||||
|
||||
pthread_mutex_t block_allocation_map_lock;
|
||||
char* block_allocation_map;
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user