[PATCH 5/6] scsi-lib: implement init_flush_rq and its pair

2014-09-07 Thread Ming Lei
Now implement init_flush_rq callback to avoid the unnecessary pdu copying done in blk_mq_clone_flush_request(). The sense buffer is introduced to flush req, but it won't be a deal since there is only one flush request per queue. It still may be borrowed from the sence buffer of the request cloned

Re: [PATCH 5/6] scsi-lib: implement init_flush_rq and its pair

2014-09-07 Thread Christoph Hellwig
+static int __scsi_init_request(struct request *rq, int numa_node) Nitpick: Please use a sane name here, e.g. scsi_mq_alloc/free_sense_buffer. -- To unsubscribe from this list: send the line unsubscribe linux-scsi in the body of a message to majord...@vger.kernel.org More majordomo info at