lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Mon, 21 Aug 2017 17:11:30 -0500 From: Brian King <brking@...ux.vnet.ibm.com> To: Bart Van Assche <Bart.VanAssche@....com>, "linuxppc-dev@...ts.ozlabs.org" <linuxppc-dev@...ts.ozlabs.org>, "abdhalee@...ux.vnet.ibm.com" <abdhalee@...ux.vnet.ibm.com> Cc: "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>, "hch@....de" <hch@....de>, "linux-scsi@...r.kernel.org" <linux-scsi@...r.kernel.org>, "sfr@...b.auug.org.au" <sfr@...b.auug.org.au>, "sachinp@...ux.vnet.ibm.com" <sachinp@...ux.vnet.ibm.com>, "linux-next@...r.kernel.org" <linux-next@...r.kernel.org>, "hare@...e.com" <hare@...e.com>, "mpe@...erman.id.au" <mpe@...erman.id.au> Subject: [PATCH 0/2] Allow scsi_prep_fn to occur for retried commands The following two patches address the hang issue being observed with Bart's patch on powerpc. The first patch moves the initialization of jiffies_at_alloc from scsi_init_command to scsi_init_rq, and ensures we don't zero jiffies_at_alloc in scsi_init_command. The second patch saves / restores the retry counter in scsi_init_command which lets us go through scsi_init_command for retries and not forget why we were there. These patches have only been boot tested on my Power machine with ipr to ensure they fix the issue I was seeing. -Brian -- Brian King Power Linux I/O IBM Linux Technology Center
Powered by blists - more mailing lists