• NeilBrown's avatar
    SUNRPC: integrate back-channel processing with svc_recv() · 063ab935
    NeilBrown authored
    Using svc_recv() for (NFSv4.1) back-channel handling means we have just
    one mechanism for waking threads.
    
    Also change kthread_freezable_should_stop() in nfs4_callback_svc() to
    kthread_should_stop() as used elsewhere.
    kthread_freezable_should_stop() effectively adds a try_to_freeze() call,
    and svc_recv() already contains that at an appropriate place.
    Signed-off-by: default avatarNeilBrown <neilb@suse.de>
    Cc: Trond Myklebust <trond.myklebust@hammerspace.com>
    Cc: Anna Schumaker <Anna.Schumaker@Netapp.com>
    Signed-off-by: default avatarChuck Lever <chuck.lever@oracle.com>
    063ab935
backchannel.c 7.25 KB