blk-mq: initialize struct request fields individually
authorChristoph Hellwig <hch@lst.de>
Tue, 6 May 2014 10:12:45 +0000 (12:12 +0200)
committerJens Axboe <axboe@fb.com>
Fri, 9 May 2014 14:43:49 +0000 (08:43 -0600)
commitaf76e555e5e29e08eb8ac1f7878e23dbf0d6741f
treef583d3360eebfb37413f5e8e350c146bac591ada
parent9fccfed8f0cad9b79575a87c45d6f5f6ee05bb66
blk-mq: initialize struct request fields individually

This allows us to avoid a non-atomic memset over ->atomic_flags as well
as killing lots of duplicate initializations.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@fb.com>
block/blk-mq.c
include/linux/blkdev.h