On Wed, 2018-08-08 at 01:44 +-0800, Ming Lei wrote: +AD4- diff --git a/drivers/scsi/scsi+AF8-lib.c b/drivers/scsi/scsi+AF8-lib.c +AD4- index 435347f58328..52e498fb6280 100644 +AD4- --- a/drivers/scsi/scsi+AF8-lib.c +AD4- +-+-+- b/drivers/scsi/scsi+AF8-lib.c +AD4- +AEAAQA- -1971,10 +-1971,9 +AEAAQA- static unsigned int scsi+AF8-mq+AF8-sgl+AF8-size(struct Scsi+AF8-Host +ACo-shost) +AD4- sizeof(struct scatterlist)+ADs- +AD4- +AH0- +AD4- +AD4- -static int scsi+AF8-mq+AF8-prep+AF8-fn(struct request +ACo-req) +AD4- +-static int scsi+AF8-mq+AF8-prep+AF8-fn(struct scsi+AF8-device +ACo-sdev, struct request +ACo-req) +AD4- +AHs- +AD4- struct scsi+AF8-cmnd +ACo-cmd +AD0- blk+AF8-mq+AF8-rq+AF8-to+AF8-pdu(req)+ADs- +AD4- - struct scsi+AF8-device +ACo-sdev +AD0- req-+AD4-q-+AD4-queuedata+ADs- +AD4- struct Scsi+AF8-Host +ACo-shost +AD0- sdev-+AD4-host+ADs- +AD4- struct scatterlist +ACo-sg+ADs- +AD4- +AD4- +AEAAQA- -2070,7 +-2069,7 +AEAAQA- static blk+AF8-status+AF8-t scsi+AF8-queue+AF8-rq(struct blk+AF8-mq+AF8-hw+AF8-ctx +ACo-hctx, +AD4- goto out+AF8-dec+AF8-target+AF8-busy+ADs- +AD4- +AD4- if (+ACE-(req-+AD4-rq+AF8-flags +ACY- RQF+AF8-DONTPREP)) +AHs- +AD4- - ret +AD0- prep+AF8-to+AF8-mq(scsi+AF8-mq+AF8-prep+AF8-fn(req))+ADs- +AD4- +- ret +AD0- prep+AF8-to+AF8-mq(scsi+AF8-mq+AF8-prep+AF8-fn(sdev, req))+ADs- +AD4- if (ret +ACEAPQ- BLK+AF8-STS+AF8-OK) +AD4- goto out+AF8-dec+AF8-host+AF8-busy+ADs- +AD4- req-+AD4-rq+AF8-flags +AHwAPQ- RQF+AF8-DONTPREP+ADs- This patch looks useful to me since it probably realizes a (small) performance improvement. I think this patch does not depend on any of the previous patches in this series. Is that correct? Bart.