Re: [PATCH 4/6] dma: bcm-sba-raid: Break sba_process_deferred_requests() into two parts

2017-07-26 Thread Anup Patel
On Wed, Jul 26, 2017 at 10:45 PM, Vinod Koul wrote: > On Wed, Jul 26, 2017 at 11:06:42AM +0530, Anup Patel wrote: >> This patch breaks sba_process_deferred_requests() into two parts >> sba_process_received_request() and _sba_process_pending_requests() >> for readability. >>

Re: [PATCH 4/6] dma: bcm-sba-raid: Break sba_process_deferred_requests() into two parts

2017-07-26 Thread Anup Patel
On Wed, Jul 26, 2017 at 10:45 PM, Vinod Koul wrote: > On Wed, Jul 26, 2017 at 11:06:42AM +0530, Anup Patel wrote: >> This patch breaks sba_process_deferred_requests() into two parts >> sba_process_received_request() and _sba_process_pending_requests() >> for readability. >> >> In addition, > >

Re: [PATCH 4/6] dma: bcm-sba-raid: Break sba_process_deferred_requests() into two parts

2017-07-26 Thread Vinod Koul
On Wed, Jul 26, 2017 at 11:06:42AM +0530, Anup Patel wrote: > This patch breaks sba_process_deferred_requests() into two parts > sba_process_received_request() and _sba_process_pending_requests() > for readability. > > In addition, that should be a separate patch then... no? > we remove

Re: [PATCH 4/6] dma: bcm-sba-raid: Break sba_process_deferred_requests() into two parts

2017-07-26 Thread Vinod Koul
On Wed, Jul 26, 2017 at 11:06:42AM +0530, Anup Patel wrote: > This patch breaks sba_process_deferred_requests() into two parts > sba_process_received_request() and _sba_process_pending_requests() > for readability. > > In addition, that should be a separate patch then... no? > we remove

[PATCH 4/6] dma: bcm-sba-raid: Break sba_process_deferred_requests() into two parts

2017-07-25 Thread Anup Patel
This patch breaks sba_process_deferred_requests() into two parts sba_process_received_request() and _sba_process_pending_requests() for readability. In addition, we remove redundant SBA_REQUEST_STATE_RECEIVED state and ensure that all requests in a chained request should be freed only after all

[PATCH 4/6] dma: bcm-sba-raid: Break sba_process_deferred_requests() into two parts

2017-07-25 Thread Anup Patel
This patch breaks sba_process_deferred_requests() into two parts sba_process_received_request() and _sba_process_pending_requests() for readability. In addition, we remove redundant SBA_REQUEST_STATE_RECEIVED state and ensure that all requests in a chained request should be freed only after all