[PATCH] um: hostfs: catch EINTR and partial read/write

Benjamin Berg benjamin at sipsolutions.net
Fri Nov 10 03:10:34 PST 2023


Hi,

On Fri, 2023-11-10 at 10:56 +0000, Anton Ivanov wrote:
> On 10/11/2023 10:42, Anton Ivanov wrote:
> > [SNIP]
> > 
> > If we are going to use this definition of CATCH_EINTR throughout we
> > might as well remove the partial read/write code in UBD and other
> > places.
> 
> Actually - some of it. In some places it will still be needed (trying
> to get my head around where this will work and where not).

Do you mean that we could just use the os_* helpers here and define
them to catch EINTR and also deal with partial read()/write()?

Benjamin



More information about the linux-um mailing list