Re: [PATCH 1/6] mmc: block: break out mmc_blk_rw_cmd_abort()

2017-01-26 Thread Linus Walleij
On Wed, Jan 25, 2017 at 10:23 AM, Mateusz Nowak wrote: > On 1/24/2017 11:17, Linus Walleij wrote: >> >> As a first step toward breaking apart the very complex function >> mmc_blk_issue_rw_rq() we break out the command abort code. >> This code assumes "ret" is != 0

Re: [PATCH 1/6] mmc: block: break out mmc_blk_rw_cmd_abort()

2017-01-25 Thread Mateusz Nowak
Hi Linus, On 1/24/2017 11:17, Linus Walleij wrote: As a first step toward breaking apart the very complex function mmc_blk_issue_rw_rq() we break out the command abort code. This code assumes "ret" is != 0 and then repeatedly hammers blk_end_request() until the request to the block layer to end

[PATCH 1/6] mmc: block: break out mmc_blk_rw_cmd_abort()

2017-01-24 Thread Linus Walleij
As a first step toward breaking apart the very complex function mmc_blk_issue_rw_rq() we break out the command abort code. This code assumes "ret" is != 0 and then repeatedly hammers blk_end_request() until the request to the block layer to end the request succeeds. Signed-off-by: Linus Walleij