Files
flexnbd-c/tests/acceptance
Patrick J Cherry 347b7978e4 Discs must be sized in multiples of 512 bytes or odd things happen
In #36 some of the odd errors were due to seeks beyond the end of the
disc.  This was because the disc was "specially crafted" to be 25GB + 1
byte, which doesn't fit into the normal 512 byte sectors expected of a
disc.  This lead to reads going beyond the end of the disc etc.

If a similarly evil disc is used with `losetup`, it just ignores the
last bytes of the disc that don't fit into 512 chunks.  This is what
that patch does, logging an error at the same time.
2018-02-08 16:31:28 +00:00
..
2018-02-02 21:34:14 +00:00
2013-02-15 16:52:16 +00:00
2018-02-02 21:34:14 +00:00
2018-02-03 20:29:15 +00:00
2018-02-02 21:36:30 +00:00
2018-02-02 21:34:14 +00:00
2018-02-02 21:34:14 +00:00
2018-02-02 21:34:14 +00:00
2018-02-02 21:34:14 +00:00
2018-02-02 21:34:14 +00:00