Messages in this thread | | | From | Paul Menage <> | Subject | Re: manipulating sigmask from filesystems and drivers | Date | Fri, 02 Aug 2002 16:30:12 -0700 |
| |
>> How about a sysctl that lets the user specify the size threshold at >> which writes use a killable wait state rather than >> TASK_UNINTERRUPTIBLE? (Probably defaulting to never.) > >/usr/include/linux/limits.h:#define PIPE_BUF 4096 /* # >bytes in atomic write to a pipe */ > >According to SUSv3, this is the maximum size that write is guaranteed to >be atomic for.
But that doesn't mean that we can't allow the user to configure higher limits if they're using some particular software that relies on (and more importantly, has successfully relied upon in the past) the current behaviour of no interruptions.
Paul
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |