On 04/28/2017 04:55 PM, Jens Axboe wrote: > The driver special cases certain things for command issue, depending > on whether it's an internal command or not. Make the internal commands > use the regular infrastructure for issuing IO. > > Since this is an 8-group souped up AHCI variant, we have to deal > with NCQ vs non-queueable commands. Do this from the queue_rq > handler, by backing off unless the drive is idle. > > Signed-off-by: Jens Axboe <ax...@fb.com> > --- > drivers/block/mtip32xx/mtip32xx.c | 106 > +++++++++++++++++++++++++++----------- > 1 file changed, 76 insertions(+), 30 deletions(-) > Reviewed-by: Hannes Reinecke <h...@suse.com>
Cheers, Hannes -- Dr. Hannes Reinecke Teamlead Storage & Networking h...@suse.de +49 911 74053 688 SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg GF: F. Imendörffer, J. Smithard, J. Guild, D. Upmanyu, G. Norton HRB 21284 (AG Nürnberg)