It looks like this change caused it, this also seems to cause a null ptr error 
on startup, which I thought was unrelated.
 
909657615d9b3ce709be4fd95b9a9e8c8c7c2be6 is the first bad commit
commit 909657615d9b3ce709be4fd95b9a9e8c8c7c2be6
Author: Christoph Hellwig <h...@lst.de>
Date:   Thu Apr 6 15:36:32 2017 +0200

    scsi: libsas: allow async aborts
    
    We now first try to call ->eh_abort_handler from a work queue, but libsas
    was always failing that for no good reason.  Allow async aborts.
    
    Reviewed-by: Johannes Thumshirn <j...@kernel.org>
    Reviewed-by: Hannes Reinecke <h...@suse.de>
    Signed-off-by: Christoph Hellwig <h...@lst.de>
    Signed-off-by: Martin K. Petersen <martin.peter...@oracle.com>

:040000 040000 b15f1eb57bf74667aefb7a304fa09bf58386eaf2
64df540499763db44c7e1b6ec9a55ffa9b2ebedc M      drivers

The change removes an early exit that would protect a call to
lldd_abort_task...

diff --git a/drivers/scsi/libsas/sas_scsi_host.c 
b/drivers/scsi/libsas/sas_scsi_host.c
index 9bd55bce83af..ee6b39a1db69 100644
--- a/drivers/scsi/libsas/sas_scsi_host.c
+++ b/drivers/scsi/libsas/sas_scsi_host.c
@@ -491,9 +491,6 @@ int sas_eh_abort_handler(struct scsi_cmnd *cmd)
        struct Scsi_Host *host = cmd->device->host;
        struct sas_internal *i = to_sas_internal(host->transportt);
 
-       if (current != host->ehandler)
-               return FAILED;
-
        if (!i->dft->lldd_abort_task)
                return FAILED;

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1740309

Title:
  user space process hangs when reading partition table of disk

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1740309/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to