-
- Downloads
rxrpc: Allow the kernel to mark a call as being non-interruptible
Allow kernel services using AF_RXRPC to indicate that a call should be
non-interruptible. This allows kafs to make things like lock-extension and
writeback data storage calls non-interruptible.
If this is set, signals will be ignored for operations on that call where
possible - such as waiting to get a call channel on an rxrpc connection.
It doesn't prevent UDP sendmsg from being interrupted, but that will be
handled by packet retransmission.
rxrpc_kernel_recv_data() isn't affected by this since that never waits,
preferring instead to return -EAGAIN and leave the waiting to the caller.
Userspace initiated calls can't be set to be uninterruptible at this time.
Signed-off-by:
David Howells <dhowells@redhat.com>
Showing
- Documentation/networking/rxrpc.txt 10 additions, 1 deletionDocumentation/networking/rxrpc.txt
- fs/afs/rxrpc.c 1 addition, 0 deletionsfs/afs/rxrpc.c
- include/net/af_rxrpc.h 1 addition, 0 deletionsinclude/net/af_rxrpc.h
- net/rxrpc/af_rxrpc.c 3 additions, 0 deletionsnet/rxrpc/af_rxrpc.c
- net/rxrpc/ar-internal.h 2 additions, 0 deletionsnet/rxrpc/ar-internal.h
- net/rxrpc/call_object.c 2 additions, 0 deletionsnet/rxrpc/call_object.c
- net/rxrpc/conn_client.c 6 additions, 2 deletionsnet/rxrpc/conn_client.c
- net/rxrpc/sendmsg.c 3 additions, 1 deletionnet/rxrpc/sendmsg.c
Loading
Please register or sign in to comment