-
- Downloads
Freezer / sunrpc / NFS: don't allow TASK_KILLABLE sleeps to block the freezer
Allow the freezer to skip wait_on_bit_killable sleeps in the sunrpc layer. This should allow suspend and hibernate events to proceed, even when there are RPC's pending on the wire. Also, wrap the TASK_KILLABLE sleeps in NFS layer in freezer_do_not_count and freezer_count calls. This allows the freezer to skip tasks that are sleeping while looping on EJUKEBOX or NFS4ERR_DELAY sorts of errors. Signed-off-by:Jeff Layton <jlayton@redhat.com> Signed-off-by:
Rafael J. Wysocki <rjw@sisk.pl>
Showing
- fs/nfs/inode.c 2 additions, 1 deletionfs/nfs/inode.c
- fs/nfs/nfs3proc.c 2 additions, 1 deletionfs/nfs/nfs3proc.c
- fs/nfs/nfs4proc.c 3 additions, 2 deletionsfs/nfs/nfs4proc.c
- fs/nfs/proc.c 2 additions, 1 deletionfs/nfs/proc.c
- include/linux/freezer.h 28 additions, 0 deletionsinclude/linux/freezer.h
- net/sunrpc/sched.c 2 additions, 1 deletionnet/sunrpc/sched.c
Loading
Please register or sign in to comment