Please sign in to comment.
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change blocksize to 512
1024 bytes was originally chosen as fitting nicely inside an ethernet frame. That didn't really make much sense, but the issue was masked by the kernel actually ignoring block sizes due to a bug. Now that the kernel bug is fixed, the result is that partitions are parsed incorrectly, resulting in confusing behaviour. Fix by defaulting to 512. For the rare case where 1024 bytes still makes sense, the -b parameter still exists.
- Loading branch information
Showing with 2 additions and 2 deletions.
- +2 −2 nbd-client.c