Re: [PATCH 27/36] scsi_dh_alua: Use workqueue for RTPG

2015-10-01 Thread Bart Van Assche
On 09/29/2015 03:48 AM, Hannes Reinecke wrote: +static void alua_rtpg_work(struct work_struct *work) +{ + struct alua_port_group *pg = + container_of(work, struct alua_port_group, rtpg_work.work); + struct scsi_device *sdev; + LIST_HEAD(qdata_list); + int

Re: [PATCH 27/36] scsi_dh_alua: Use workqueue for RTPG

2015-10-01 Thread Hannes Reinecke
On 10/02/2015 01:34 AM, Bart Van Assche wrote: > On 09/29/2015 03:48 AM, Hannes Reinecke wrote: >> +static void alua_rtpg_work(struct work_struct *work) >> +{ >> +struct alua_port_group *pg = >> +container_of(work, struct alua_port_group, rtpg_work.work); >> +struct scsi_device

Re: [PATCH 27/36] scsi_dh_alua: Use workqueue for RTPG

2015-09-29 Thread kbuild test robot
Hi Hannes, [auto build test results on v4.3-rc3 -- if it's inappropriate base, please ignore] reproduce: # apt-get install sparse make ARCH=x86_64 allmodconfig make C=1 CF=-D__CHECK_ENDIAN__ sparse warnings: (new ones prefixed by >>)

[PATCH 27/36] scsi_dh_alua: Use workqueue for RTPG

2015-09-29 Thread Hannes Reinecke
The current ALUA device_handler has two drawbacks: - We're sending a 'SET TARGET PORT GROUP' command to every LUN, disregarding the fact that several LUNs might be in a port group and will be automatically switched whenever _any_ LUN within that port group receives the command. - Whenever a