Refactored write_not_zeroes to use struct bitset_mapping instead of
repeating all that code (has not fixed earlier bug yet, but lots of repetition cut).
This commit is contained in:
@@ -69,7 +69,7 @@ struct server {
|
||||
int server_fd;
|
||||
int control_fd;
|
||||
|
||||
char* block_allocation_map;
|
||||
struct bitset_mapping* allocation_map;
|
||||
|
||||
struct { pthread_t thread; union mysockaddr address; }
|
||||
nbd_client[MAX_NBD_CLIENTS];
|
||||
|
Reference in New Issue
Block a user