Re: [PATCH 2/4] mmc: Add virtual command queue support

2019-09-09 Thread Baolin Wang
On Mon, 9 Sep 2019 at 20:45, Adrian Hunter wrote: > > On 9/09/19 3:16 PM, Baolin Wang wrote: > > Hi Adrian, > > > > On Mon, 9 Sep 2019 at 20:02, Adrian Hunter wrote: > >> > >> On 6/09/19 6:52 AM, Baolin Wang wrote: > >>> Now the MMC read/write stack will always wait for previous request is > >>>

Re: [PATCH 2/4] mmc: Add virtual command queue support

2019-09-09 Thread Adrian Hunter
On 9/09/19 3:16 PM, Baolin Wang wrote: > Hi Adrian, > > On Mon, 9 Sep 2019 at 20:02, Adrian Hunter wrote: >> >> On 6/09/19 6:52 AM, Baolin Wang wrote: >>> Now the MMC read/write stack will always wait for previous request is >>> completed by mmc_blk_rw_wait(), before sending a new request to

Re: [PATCH 2/4] mmc: Add virtual command queue support

2019-09-09 Thread Baolin Wang
Hi Adrian, On Mon, 9 Sep 2019 at 20:02, Adrian Hunter wrote: > > On 6/09/19 6:52 AM, Baolin Wang wrote: > > Now the MMC read/write stack will always wait for previous request is > > completed by mmc_blk_rw_wait(), before sending a new request to hardware, > > or queue a work to complete request,

Re: [PATCH 2/4] mmc: Add virtual command queue support

2019-09-09 Thread Adrian Hunter
On 6/09/19 6:52 AM, Baolin Wang wrote: > Now the MMC read/write stack will always wait for previous request is > completed by mmc_blk_rw_wait(), before sending a new request to hardware, > or queue a work to complete request, that will bring context switching > overhead, especially for high I/O

[PATCH 2/4] mmc: Add virtual command queue support

2019-09-05 Thread Baolin Wang
Now the MMC read/write stack will always wait for previous request is completed by mmc_blk_rw_wait(), before sending a new request to hardware, or queue a work to complete request, that will bring context switching overhead, especially for high I/O per second rates, to affect the IO performance.