Thread (5 messages) 5 messages, 3 authors, 2021-11-16

Re: [PATCH] nvme: honour O_NONBLOCK during resetting

From: Chaitanya Kulkarni <hidden>
Date: 2021-11-16 01:40:23

On 11/11/2021 2:59 AM, Hannes Reinecke wrote:
When opening a controller device node we should honour the O_NONBLOCK
flag to allow the device to be openend even if it's in state 'resetting'
or 'connecting'. This allows user-space applications to use a call to 'open'
to figure out if the controller is present, even if it's currently
undergoing a reset.

Signed-off-by: Hannes Reinecke <hare@suse.de>
Will resetting and connecting ever result is deleting the controller due
to error cases present in that path ?

If yes then application will have handle for something that might
go away in the future, should allow such a semantic ?

-ck

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help