lkml.org 
[lkml]   [2020]   [Apr]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [GIT PULL] 9p update for 5.7
    L29Ah wrote on Tue, Apr 07, 2020:
    > In fact i would prefer disabling the full reads unconditionally, but
    > AFAIR some userspace programs might interpret a short read as EOF (and
    > also would need to check the logic that motivated the kernel-side
    > looping).

    Willy is correct there we can't just do that, way too many applications
    would break.

    I think O_NONBLOCK on regular files is a good compromise, let's not go
    overboard :)

    --
    Dominique

    \
     
     \ /
      Last update: 2020-04-07 08:33    [W:2.298 / U:0.140 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site