lkml.org 
[lkml]   [2018]   [Oct]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH 2/2] target: Fix target_wait_for_sess_cmds breakage with active signals
    On Wed, Oct 10, 2018 at 03:23:10AM +0000, Nicholas A. Bellinger wrote:
    > From: Nicholas Bellinger <nab@linux-iscsi.org>
    >
    > With the addition of commit 00d909a107 in v4.19-rc, it incorrectly assumes no
    > signals will be pending for task_struct executing the normal session shutdown
    > and I/O quiesce code-path.
    >
    > For example, iscsi-target and iser-target issue SIGINT to all kthreads as
    > part of session shutdown. This has been the behaviour since day one.

    Not knowing much context here; but does it make sense for those
    kthreads to handle signals, ever? Most kthreads should be fine with
    ignore_signals().

    \
     
     \ /
      Last update: 2018-10-10 10:44    [W:4.523 / U:0.008 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site