X-Git-Url: http://git.cascardo.eti.br/?a=blobdiff_plain;f=block%2Fblk.h;h=838188b35a83f03696fba66cbb71728e402403bd;hb=d975f309a8b250e67b66eabeb56be6989c783629;hp=026d9594142bdedf1d5a0b919390bb54b3f857c1;hpb=e965b8ce4215ac2b22b23ffc8a8dfbae964b9496;p=cascardo%2Flinux.git diff --git a/block/blk.h b/block/blk.h index 026d9594142b..838188b35a83 100644 --- a/block/blk.h +++ b/block/blk.h @@ -22,6 +22,12 @@ struct blk_flush_queue { struct list_head flush_queue[2]; struct list_head flush_data_in_flight; struct request *flush_rq; + + /* + * flush_rq shares tag with this rq, both can't be active + * at the same time + */ + struct request *orig_rq; spinlock_t mq_flush_lock; };