search for: prepare_for_writ

Displaying 2 results from an estimated 2 matches for "prepare_for_writ".

Did you mean: prepare_for_write
2019 May 22
1
Re: [libnbd PATCH v2 4/5] states: Allow in-flight read while writing next command
Did we think it was better that the READY state should check if there are commands to issue and automatically transition to PREPARE_FOR_WRITE if so? Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com virt-p2v converts physical machines to virtual machines. Boot with a live CD or over the network (PXE) and turn machines into KVM...
2019 May 22
10
[libnbd PATCH v2 0/5] Avoid deadlock with in-flight commands
On v1, we discussed whether cmds_to_issue needed to be a list, since it never had more than one element. I played with the idea of making it a list, and allowing the client to queue up new commands regardless of whether the state machine is currently in READY. I also polished up the tmp demo into a bit more full-fledged example file, worth including since it also let me discover a hard-to-hit race