nick
91d9531a60
flexnbd serve: Make the killswitch per-client-thread
...
This is a bit tricky, but calling shutdown() on a socket in a signal
handler is safe, and (at least in linux) appears to cause any read()
or write() calls blocked on that socket to return, even with SA_RESTART.
I'm not confident enough about the rest of flexnbd's syscall error
handling to turn SA_RESTART off for this signal...
2014-01-22 11:49:21 +00:00
nick
1b6c10926f
docs: Fix the documentation for the loglevel timestamps
...
We're actually using the system monotonic clock.
2013-06-06 12:23:14 +01:00
nick
24858fcde5
logging: Add a timestamp to the log messages we emit
2013-06-06 11:57:05 +01:00
nick
5257e93cb7
flexnbd: Split the proxy mode out into its own binary.
...
"flexnbd-proxy ..." should be identical in operation to "flexnbd proxy ..."
2013-03-19 13:13:37 +00:00
nick
98d8fbeaf0
flexnbd: Add a proxy mode
...
This lets us proxy connections between NBD clients and servers, resiliently.
2013-02-15 16:52:16 +00:00
Alex Young
33f95e1986
Add the --unlink option to mirror
...
This deletes the local file before tearing down the mirror connection,
allowing us to avoid an ambiguous recovery situation.
2012-07-23 13:39:27 +01:00
Alex Young
f6f4266fd6
Update the README for new listen
behaviour
...
Get rid of references to rebind addresses and update the usage examples.
2012-07-23 10:10:47 +01:00
Alex Young
b0f1a027c6
Add .INCOMPLETE file marker to flexnbd listen
...
We drop a marker onto the filesystem to say when we know the image we're
serving is not yet ready.
2012-07-19 17:34:20 +01:00
Alex Young
314c0c2a2a
Added the flexnbd break
command to stop mirroring
2012-07-17 16:30:49 +01:00
Alex Young
54a1409dce
Added a README.txt and a man page
...
Spoiler: they're the same thing. Added a `rake man` task to build the
man page. Depends on asciidoc.
2012-07-14 18:36:02 +01:00