Re: [PATCH V12 2/5] mmc: block: Add blk-mq support

2017-10-27 Thread Ulf Hansson
>>> >>> -#define CMD_ERRORS \ >>> - (R1_OUT_OF_RANGE | /* Command argument out of range */ \ >>> -R1_ADDRESS_ERROR | /* Misaligned address */\ >>> +#define CMD_ERRORS_EXCL_OOR

Re: [PATCH V12 2/5] mmc: block: Add blk-mq support

2017-10-27 Thread Adrian Hunter
On 27/10/17 12:23, Ulf Hansson wrote: > On 24 October 2017 at 10:40, Adrian Hunter wrote: >> Define and use a blk-mq queue. Discards and flushes are processed >> synchronously, but reads and writes asynchronously. In order to support >> slow DMA unmapping, DMA unmapping is not done until after the

Re: [PATCH V12 2/5] mmc: block: Add blk-mq support

2017-10-27 Thread Ulf Hansson
On 24 October 2017 at 10:40, Adrian Hunter wrote: > Define and use a blk-mq queue. Discards and flushes are processed > synchronously, but reads and writes asynchronously. In order to support > slow DMA unmapping, DMA unmapping is not done until after the next request > is started. That means the

[PATCH V12 2/5] mmc: block: Add blk-mq support

2017-10-24 Thread Adrian Hunter
Define and use a blk-mq queue. Discards and flushes are processed synchronously, but reads and writes asynchronously. In order to support slow DMA unmapping, DMA unmapping is not done until after the next request is started. That means the request is not completed until then. If there is no next re