On 12/5/16, 8:03 AM, "Christoph Hellwig" <hch@xxxxxxxxxxxxx> wrote: >On Fri, Dec 02, 2016 at 01:44:53PM -0800, Himanshu Madhani wrote: >> From: Samy <samy@xxxxxxxxxxxxxxx> >> >> This patch helps resolve some of the mailbox timeout issue discovered >> during large SAN emulation testing where 1000+ initiators are trying >> to log into target mode personality. Since current mailbox interface >> handles submission and processing of commands in a sequential order, >> command could timeout resulting in some initiator not being able to >> log into target. > >How does the patch hange anything? You're still synchronously >waiting for the command, it's just that the command processing >is offloaded to a workqueue now. The mailbox timeout was issue here where command submitted to mailbox could wait for more than time allowed to wait_for_completion. We’ll see lot of mailbox timeout if the number of initiators trying to log into target mode personality increases to few thousands. > ��.n��������+%������w��{.n�����{������ܨ}���Ơz�j:+v�����w����ޙ��&�)ߡ�a����z�ޗ���ݢj��w�f