Displaying 3 results from an estimated 3 matches for "is_process".
Did you mean:
in_process
2019 Jun 05
1
Re: [PATCH libnbd 2/4] lib: Split nbd_aio_is_* functions into internal.
...---------------------------------------------------
> h->state is processing
> checks nbd_aio_is_ready
> (it's false)
> h->state is moved to READY
> checks nbd_aio_is_processing
> (it's false)
> validation check fails
>
> (However the state was valid so the validation check should have
> succeeded).
>
> Fixes commit e63a11736930c381a79a8cc2d03844cfff5db3ef.
>
> Than...
2019 Jun 19
4
[libnbd PATCH] states: Never block state machine inside REPLY
...h this patch in place, the only time is_state_processing is
true is during the ISSUE_COMMAND group when it is blocked on
NotifyWrite. Thus, once handshaking is complete, we can reliably
equate nbd_aio_get_direction() == DIRECTION_READ with is_ready(),
nbd_aio_get_direction() == DIRECTION_BOTH with is_processing() in the
ISSUE_COMMAND substate.
Oddly enough, I am not getting any measurable performance difference
with this patch applied and using examples/threaded-reads-and-writes
coupled with nbdkit. My explanation is that in the common case, once
a server has something to send, it is going to send th...
2019 Jun 05
9
[PATCH libnbd 0/4] lib: Atomically update h->state.
I need to think about this patch series a bit more, but it
does at least pass the tests.
Rich.