Thread (16 messages) 16 messages, 3 authors, 2020-05-16

Re: [PATCH v4 1/5] block: revert back to synchronous request_queue removal

From: Bart Van Assche <bvanassche@acm.org>
Date: 2020-05-10 00:36:18
Also in: linux-fsdevel, linux-mm, lkml

On 2020-05-08 20:10, Luis Chamberlain wrote:
We revert back to synchronous request_queue removal because asynchronous
removal creates a regression with expected userspace interaction with
several drivers. An example is when removing the loopback driver, one
uses ioctls from userspace to do so, but upon return and if successful,
one expects the device to be removed. Likewise if one races to add another
device the new one may not be added as it is still being removed. This was
expected behavior before and it now fails as the device is still present
and busy still. Moving to asynchronous request_queue removal could have
broken many scripts which relied on the removal to have been completed if
there was no error. Document this expectation as well so that this
doesn't regress userspace again.
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help