History

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.

Jan Kara committed 12 years ago

Commit 8b4922d1 parent bf36f9c4 files · +9 −14Browse files

Showing the changes to include/linux/blkdev.h (1 of 4 files). Show all

Unified · Split

include/linux/blkdev.h+1−0
@@ -99,6 +99,7 @@ struct request { · 98 unmodified lines
9999 union {
100100 struct call_single_data csd;
101101 struct work_struct mq_flush_work;
102+ unsigned long fifo_time;
102103 };
103104
104105 struct request_queue *q;