> > This is not the case for block devices. Either it works
> > or it doesn't. You can defer a scsi command, but only
> > before you queue it.
>
> But ... since NFS allocates memory, and it works for paging,
> then there IS some more reasonable characterization.
>
> The usb-storage code could retry when it gets "-ENOMEM"
> when submitting an URB, to get similar effects, yes?
Thinking about it again, trying to be perfect in face of OOM
is a little silly.
Instead of retrying could we simply use a flag in the urb that means
retry memory allocations with GFP_ATOMIC if they fail ?
This way we are reasonably good and keep the API clean.
Regards
Oliver
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel