Re: [PATCH 1/8] ibft scanning fails on newer kernels

2011-06-22 Thread Hannes Reinecke
On 06/21/2011 11:39 PM, Mike Christie wrote: On 06/21/2011 04:23 AM, Hannes Reinecke wrote: Newer kernels provide the 'net' link as a directory, instead of the 'net:XX' link with previous kernels. The sysfs scanning code has enablement to work with this, but the directory lookup doesn't work

Re: [PATCH 1/4] BNX2I: Added the use of kthreads to handle SCSI cmd completion

2011-06-22 Thread Eddie Wai
On Tue, 2011-06-21 at 19:54 -0700, Mike Christie wrote: On 06/21/2011 11:49 AM, Eddie Wai wrote: This patch breaks the SCSI cmd completion into two parts: 1. The bh will allocate and queued work to the cmd specific CPU IO completion kthread. The CPU for the cmd is recorded in task_xmit.

Re: [PATCH 1/4] BNX2I: Added the use of kthreads to handle SCSI cmd completion

2011-06-22 Thread Fubo Chen
On Tue, Jun 21, 2011 at 6:49 PM, Eddie Wai eddie@broadcom.com wrote: +/** + * bnx2i_percpu_io_thread - thread per cpu for ios + * + * @arg:       ptr to bnx2i_percpu_info structure + */ +int bnx2i_percpu_io_thread(void *arg) +{ +       struct bnx2i_percpu_s *p = arg; +       struct

Re: open-iscsi-2.0-870 issue

2011-06-22 Thread Mike Christie
On 06/22/2011 03:03 AM, 王道邦 wrote: Hi, Mike, Any update for this? Could you duplicate it now? I have not been able to replicate it. I wanted to confirm you were using Red Hat Enterprise Linux 5 (RHEL 5), right? You did not mean Red Hat Linux 5? Could you try the attached patch? It will