summaryrefslogtreecommitdiffstats
path: root/include/linux/blkdev.h
diff options
context:
space:
mode:
authorJan Kara <jack@suse.cz>2014-02-24 16:39:52 +0100
committerJens Axboe <axboe@fb.com>2014-02-24 14:46:32 -0800
commit8b4922d3173d2eee7b43be8e5caec3ab7d30feff (patch)
tree171fd625657933067d47b0ef0a29f10443a21c81 /include/linux/blkdev.h
parentbf36f9cfa6d3d129387b9d62f495d978ed4ade7c (diff)
downloadlinux-0-day-8b4922d3173d2eee7b43be8e5caec3ab7d30feff.tar.gz
linux-0-day-8b4922d3173d2eee7b43be8e5caec3ab7d30feff.tar.xz
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>
Diffstat (limited to 'include/linux/blkdev.h')
-rw-r--r--include/linux/blkdev.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/blkdev.h b/include/linux/blkdev.h
index 4afa4f8f60909..1e1fa3f93d5fc 100644
--- a/include/linux/blkdev.h
+++ b/include/linux/blkdev.h
@@ -99,6 +99,7 @@ struct request {
union {
struct call_single_data csd;
struct work_struct mq_flush_work;
+ unsigned long fifo_time;
};
struct request_queue *q;