public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/6] iscsi: Speed up failover with lots of devices.
@ 2022-02-26 23:04 Mike Christie
  2022-02-26 23:04 ` [PATCH 1/6] scsi: iscsi: Fix recovery and ublocking race Mike Christie
                   ` (8 more replies)
  0 siblings, 9 replies; 23+ messages in thread
From: Mike Christie @ 2022-02-26 23:04 UTC (permalink / raw)
  To: martin.petersen, linux-scsi, mrangankar, njavali,
	GR-QLogic-Storage-Upstream, lduncan, cleech, liuzhengyuang521

In:

https://lore.kernel.org/all/CAK3e-EZbJMDHkozGiz8LnMNAZ+SoCA+QeK0kpkqM4vQ4pz86SQ@mail.gmail.com/t/ 

Zhengyuan Liu found an issue where failovers are taking a long time
with lots of devices (/dev/sdXYZ nodes). The problem is that iscsid
expects most nl operations to be fast (ignoring mem issues) and when
the session block code was written blocking a queue/scsi_device was
just setting some flag bits and state values more or less. Now a block
call will actually handle IO that has been sent to the driver, so it
can be expensive. When you add in more and more devices, then a
session block call will take longer and longer.

This patchset moves the recovery and unbind operations to a per
session work queue instead of the mix or per session, host and module.




^ permalink raw reply	[flat|nested] 23+ messages in thread

end of thread, other threads:[~2022-03-09  4:14 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-02-26 23:04 [PATCH 0/6] iscsi: Speed up failover with lots of devices Mike Christie
2022-02-26 23:04 ` [PATCH 1/6] scsi: iscsi: Fix recovery and ublocking race Mike Christie
2022-02-27 19:49   ` Lee Duncan
2022-02-28 20:06   ` Chris Leech
2022-02-26 23:04 ` [PATCH 2/6] scsi: iscsi: Speed up session unblocking and removal Mike Christie
2022-02-28 16:05   ` Lee Duncan
2022-02-28 20:06   ` Chris Leech
2022-02-26 23:04 ` [PATCH 3/6] scsi: iscsi: Remove iscsi_scan_finished Mike Christie
2022-02-28 18:05   ` Lee Duncan
2022-02-28 20:39     ` Mike Christie
2022-02-28 20:07   ` Chris Leech
2022-02-26 23:04 ` [PATCH 4/6] scsi: iscsi, ql4: Use per session workqueue for unbinding Mike Christie
2022-02-28 18:19   ` Lee Duncan
2022-02-28 20:07   ` Chris Leech
2022-02-26 23:04 ` [PATCH 5/6] scsi: iscsi: Use the session workqueue for recovery Mike Christie
2022-02-28 20:08   ` Chris Leech
2022-02-28 20:09   ` Lee Duncan
2022-02-26 23:04 ` [PATCH 6/6] scsi: iscsi: Drop temp workq_name Mike Christie
2022-02-28 20:08   ` Chris Leech
2022-02-28 22:49   ` Lee Duncan
2022-02-28 15:53 ` [PATCH 0/6] iscsi: Speed up failover with lots of devices Mike Christie
2022-03-02  4:20 ` Martin K. Petersen
2022-03-09  4:14 ` Martin K. Petersen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox