block: Stop abusing csd.list for fifo_time
commit8b4922d3173d2eee7b43be8e5caec3ab7d30feff
authorJan Kara <jack@suse.cz>
Mon, 24 Feb 2014 15:39:52 +0000 (24 16:39 +0100)
committerJens Axboe <axboe@fb.com>
Mon, 24 Feb 2014 22:46:32 +0000 (24 14:46 -0800)
tree171fd625657933067d47b0ef0a29f10443a21c81
parentbf36f9cfa6d3d129387b9d62f495d978ed4ade7c
block: Stop abusing csd.list for fifo_time

Block layer currently abuses rq->csd.list.next for storing fifo_time.
That is a terrible hack and completely unnecessary as well. Union
achieves the same space saving in a cleaner way.

Signed-off-by: Jan Kara <jack@suse.cz>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Christoph Hellwig <hch@infradead.org>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Jens Axboe <axboe@fb.com>
Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
block/cfq-iosched.c
block/deadline-iosched.c
include/linux/blkdev.h
include/linux/elevator.h