coda: block signals during upcall processing
We ignore signals for about 30 seconds to give userspace a chance to see the upcall. As we did not block signals we ended up in a busy loop for the remainder of the period when a signal is received. Signed-off-by: Jan Harkes <jaharkes@cs.cmu.edu> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
fe71b5f387
commit
d9664c95af
2 changed files with 61 additions and 23 deletions
|
@ -85,7 +85,6 @@ struct upc_req {
|
|||
u_short uc_opcode; /* copied from data to save lookup */
|
||||
int uc_unique;
|
||||
wait_queue_head_t uc_sleep; /* process' wait queue */
|
||||
unsigned long uc_posttime;
|
||||
};
|
||||
|
||||
#define REQ_ASYNC 0x1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue