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.
This commit is contained in:
@@ -81,6 +81,12 @@ the source in the interim.
|
||||
To support transparently replacing an existing server, flexnbd can
|
||||
switch addresses once it has received a successful migration.
|
||||
|
||||
When `flexnbd listen` is run, it will create a file named
|
||||
<FILE>.INCOMPLETE next to FILE. This will be removed when a migration
|
||||
has successfully completed. The .INCOMPLETE file will be created before
|
||||
the listening socket is opened.
|
||||
|
||||
|
||||
Options
|
||||
^^^^^^^
|
||||
As for 'serve', with these additions:
|
||||
|
Reference in New Issue
Block a user