tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: sleeping instead of ENOBUFS on write to socket?



On Fri, May 27, 2011 at 03:58:57PM +0000, Emmanuel Dreyfus wrote:
> On Fri, May 27, 2011 at 10:56:57AM -0500, David Young wrote:
> > You could use select(2), poll(2), or kqueue(2) to sleep until a socket
> > is ready for writing
> 
> A major goal of perfuse was to avoid heavy modification of FUSE filesystems.
> I would like to leave the way they write unmodified if this is possible.

Have you considered renaming write(2) and provide a fixed stub that way?

Joerg


Home | Main Index | Thread Index | Old Index