Patrick J Cherry
2b58468800
Added test for FUA acceptance.
...
Although I think this might be a bit useless as servers normally just
ingore flags.
2018-02-03 20:29:15 +00:00
Patrick J Cherry
3410ccd4c5
Fixed up commenting around our advertised flags.
2018-02-02 20:50:48 +00:00
Patrick J Cherry
1f0ef0aad6
Implement FLUSH command and honour FUA flag
...
I changed the request struct to break the 32 bits reserved for the
request type into two. The first part of this is used for the flags
(such as FUA), and the second part for the command type. Previously
we'd masked the top two bytes, thus ignoring any flags.
2018-02-01 22:13:59 +00:00
Patrick J Cherry
25cc084108
First steps towards implementing flags as part of oldstyle negotiation
2018-02-01 19:25:36 +00:00
James F. Carter
9b1781164a
avoid fatal error on client connection timeout
2018-01-26 15:03:44 +00:00
Michel Pollet
956a602475
Simplified NBD handle comparisons
...
8 bytes, therefore a uing64_t to compare to, no need for memcmp()
Signed-off-by: Michel Pollet <buserror@gmail.com >
2016-10-04 15:41:48 +01:00
Alex Young
c41eeff2fc
Moved the server-specific files into src/server
2014-03-11 11:05:43 +00:00