Re: [PATCH] blk-mq: initialize struct request fields individually

2014-05-08 Thread Jens Axboe
On 05/06/2014 04:12 AM, Christoph Hellwig wrote: > This allows us to avoid a non-atomic memset over ->atomic_flags as well > as killing lots of duplicate initializations. I had an earlier variant of this as well, they are quite a few fields we can neglect to initialize. But I think this is a safe

[PATCH] blk-mq: initialize struct request fields individually

2014-05-06 Thread Christoph Hellwig
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 --- block/blk-mq.c | 47 +-- include/linux/blkdev.h |7 --- 2 files changed, 49 ins