xen/blkfront: use tagged queuing for barriers
authorJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Thu, 22 Jul 2010 21:17:00 +0000 (14:17 -0700)
committerJens Axboe <jaxboe@fusionio.com>
Sat, 7 Aug 2010 16:52:53 +0000 (18:52 +0200)
commit4dab46ff26c6003a13ec769312c50938b93c359d
tree02d6f99222034dfeb73ccb388663570db883cb52
parente96f6abe02fc3320d669985443e8c68ff8e83294
xen/blkfront: use tagged queuing for barriers

When barriers are supported, then use QUEUE_ORDERED_TAG to tell the block
subsystem that it doesn't need to do anything else with the barriers.
Previously we used ORDERED_DRAIN which caused the block subsystem to
drain all pending IO before submitting the barrier, which would be
very expensive.

Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
drivers/block/xen-blkfront.c