kernel-fxtec-pro1x/fs/fuse
Miklos Szeredi 7c352bdf04 [PATCH] FUSE: don't allow restarting of system calls
This patch removes ability to interrupt and restart operations while there
hasn't been any side-effect.

The reason: applications.  There are some apps it seems that generate
signals at a fast rate.  This means, that if the operation cannot make
enough progress between two signals, it will be restarted for ever.  This
bug actually manifested itself with 'krusader' trying to open a file for
writing under sshfs.  Thanks to Eduard Czimbalmos for the report.

The problem can be solved just by making open() uninterruptible, because in
this case it was the truncate operation that slowed down the progress.  But
it's better to solve this by simply not allowing interrupts at all (except
SIGKILL), because applications don't expect file operations to be
interruptible anyway.  As an added bonus the code is simplified somewhat.

Signed-off-by: Miklos Szeredi <miklos@szeredi.hu>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-09-09 14:03:48 -07:00
..
dev.c [PATCH] FUSE: don't allow restarting of system calls 2005-09-09 14:03:48 -07:00
dir.c [PATCH] FUSE: don't allow restarting of system calls 2005-09-09 14:03:48 -07:00
file.c [PATCH] FUSE: don't allow restarting of system calls 2005-09-09 14:03:48 -07:00
fuse_i.h [PATCH] FUSE: don't allow restarting of system calls 2005-09-09 14:03:48 -07:00
inode.c [PATCH] FUSE: don't allow restarting of system calls 2005-09-09 14:03:48 -07:00
Makefile [PATCH] FUSE - file operations 2005-09-09 14:03:45 -07:00