[PATCH 0/6] blk-mq: initialize pdu of flush req explicitly

From: Ming Lei
Date: Sun Sep 07 2014 - 04:39:40 EST


Hi,

This patchset introduces init_flush_rq and its pair callback to
initialize pdu of flush request explicitly, instead of using
copying from request which is inefficient and buggy, and implements
them in virtio-blk and scsi-lib.

block/blk-flush.c | 22 +++++++++++++++++++++-
block/blk-mq.c | 23 ++++++++---------------
block/blk-mq.h | 3 ++-
drivers/block/virtio_blk.c | 15 ++++++++++++++-
drivers/scsi/scsi_lib.c | 32 +++++++++++++++++++++++++++-----
include/linux/blk-mq.h | 9 +++++++++
6 files changed, 81 insertions(+), 23 deletions(-)

Thanks,
--
Ming Lei

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/