Stopped NBD writes from committing all-zero blocks to disc (tentative, needs

further testing).
This commit is contained in:
Matthew Bloch
2012-05-18 13:24:35 +01:00
parent 0432fef8f5
commit ca53d6f270
5 changed files with 194 additions and 40 deletions

View File

@@ -18,7 +18,6 @@ void syntax()
" flexnbd read <IP address> <port> <offset> <length> > data\n"
" flexnbd write <IP address> <port> <offset> <length> < data\n"
" flexnbd write <IP address> <port> <offset> <data file>\n"
" flexnbd mirror <IP address> <port> <target IP> <target port>\n"
);
exit(1);
}