On Monday, October 24, 2016 3:34:27 PM CEST Binoy Jayan wrote:
> Hi Arnd
>
> On 20 October 2016 at 14:36, Arnd Bergmann wrote:
> > On Thursday, October 20, 2016 2:24:01 PM CEST Binoy Jayan wrote:
> >> Semaphores are going away in the future, so replace the semaphore
> >> sync_request_sem with the
On 20 October 2016 at 14:40, Arnd Bergmann wrote:
> On Thursday, October 20, 2016 2:24:01 PM CEST Binoy Jayan wrote:
>> - sema_init(&ctrl_info->sync_request_sem,
>> - PQI_RESERVED_IO_SLOTS_SYNCHRONOUS_REQUESTS);
>> + mutex_init(&ctrl_info->sync_request_mutex);
>>
>
> Look
Hi Arnd
On 20 October 2016 at 14:36, Arnd Bergmann wrote:
> On Thursday, October 20, 2016 2:24:01 PM CEST Binoy Jayan wrote:
>> Semaphores are going away in the future, so replace the semaphore
>> sync_request_sem with the a mutex lock. timeout_msecs is not used
>> for the lock sync_request_sem,
On Thursday, October 20, 2016 2:24:01 PM CEST Binoy Jayan wrote:
> - sema_init(&ctrl_info->sync_request_sem,
> - PQI_RESERVED_IO_SLOTS_SYNCHRONOUS_REQUESTS);
> + mutex_init(&ctrl_info->sync_request_mutex);
>
Looking at this again, I see that PQI_RESERVED_IO_SLOTS_SYNCHRO
On Thursday, October 20, 2016 2:24:01 PM CEST Binoy Jayan wrote:
> Semaphores are going away in the future, so replace the semaphore
> sync_request_sem with the a mutex lock. timeout_msecs is not used
> for the lock sync_request_sem, so remove the timed locking too.
>
> Signed-off-by: Binoy Jayan
Semaphores are going away in the future, so replace the semaphore
sync_request_sem with the a mutex lock. timeout_msecs is not used
for the lock sync_request_sem, so remove the timed locking too.
Signed-off-by: Binoy Jayan
---
drivers/scsi/smartpqi/smartpqi.h | 4 +++-
drivers/scsi/smartpq
6 matches
Mail list logo