Hi

2019-03-23 Thread Eden Zuwa



Hello,
My name is Miss Eden,i saw your profile and i love it,i think we can make it 
together,please i will like you to email me back through my email thus;so that 
i will send you my picture.so that we will discuss more about my interest,I 
will be waiting to receive your lovely reply soon
Miss Eden


Some questions about scsi_eh_wakeup

2019-03-23 Thread zhengbin (A)
Hi,

When I use fio test kernel in the following steps:
1.The sas controller mixes SAS/SATA disks
2.Use fio test all disks
3.Simultaneous enable/disable/link_reset/hard_reset PHY

it will hung in ata_port_wait_eh
Call trace:
 __switch_to+0xb4/0x1b8
 __schedule+0x1e8/0x718
 schedule+0x38/0x90
 ata_port_wait_eh+0x70/0xf8
 sas_ata_wait_eh+0x24/0x30 [libsas]
 transport_sas_phy_reset.isra.3+0x128/0x160 [libsas]
 phy_reset_work+0x20/0x30 [libsas]
 process_one_work+0x1e4/0x460
 worker_thread+0x40/0x450
 kthread+0x12c/0x130
 ret_from_fork+0x10/0x18

I think the reason is as follows(neither function wakes up the SCSI error 
handler):
A thread:
scsi_schedule_eh
spin_lock_irqsave(shost->host_lock, flags);
if (scsi_host_set_state(shost, SHOST_RECOVERY) == 0 ||
scsi_host_set_state(shost, SHOST_CANCEL_RECOVERY) == 0) {
shost->host_eh_scheduled++;
scsi_eh_wakeup(shost);  --->visit host_busy && host_failed
}
spin_unlock_irqrestore(shost->host_lock, flags);

B thread:
scsi_dec_host_busy
rcu_read_lock();
atomic_dec(&shost->host_busy);  --->host_busy and shost_state not in 
spinlock, maybe we need to put these in spinlock?
if (unlikely(scsi_host_in_recovery(shost))) {
spin_lock_irqsave(shost->host_lock, flags);
if (shost->host_failed || shost->host_eh_scheduled)
scsi_eh_wakeup(shost);
spin_unlock_irqrestore(shost->host_lock, flags);
}
rcu_read_unlock();


PS: commit 3bd6f43f5(use rcu_read_lock) fix the hung issue  if 
scsi_eh_scmd_add() is called concurrently with
  scsi_host_queue_ready() while shost->host_blocked > 0

Thanks,
zhengbin



[Bug 201313] pm80xx mpi_ssp_completion 1883:SAS Address of IO Failure Drive:

2019-03-23 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=201313

Marius Schiffer (marius.schif...@gmail.com) changed:

   What|Removed |Added

 CC||marius.schif...@gmail.com

--- Comment #5 from Marius Schiffer (marius.schif...@gmail.com) ---
I have the same problem, using Archlinux and kernel 5.0.2.
Currently testing with 4.14.
For me, one (sometimes two) drives randomly drop every few hours to days.

-- 
You are receiving this mail because:
You are the assignee for the bug.