[PATCH] um: hostfs: catch EINTR and partial read/write
Anton Ivanov
anton.ivanov at kot-begemot.co.uk
Fri Nov 10 03:12:49 PST 2023
On 10/11/2023 11:10, Benjamin Berg wrote:
> 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()?
>
Yep :)
> Benjamin
>
> _______________________________________________
> linux-um mailing list
> linux-um at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-um
>
--
Anton R. Ivanov
https://www.kot-begemot.co.uk/
More information about the linux-um
mailing list