[BLOCK] update IDE to use new blk_ordered for barriers
authorTejun Heo <htejun@gmail.com>
Fri, 6 Jan 2006 08:57:31 +0000 (09:57 +0100)
committerJens Axboe <axboe@suse.de>
Fri, 6 Jan 2006 08:57:31 +0000 (09:57 +0100)
commit3e087b575496b8aa445192f58e7d996b1cdfa121
tree6ee355645e199a7e5c9aeae11c3143a8235d2a81
parent9a3dccc42556537a48f39ee9a9e7ab90a933f766
[BLOCK] update IDE to use new blk_ordered for barriers

Update IDE to use new blk_ordered.  This change makes the
following behavior changes.

* Partial completion of the barrier request is handled as
  failure of the whole ordered sequence.  No more partial
  completion for barrier requests.

* Any failure of pre or post flush request results in failure
  of the whole ordered sequence.

So, successfully completed ordered sequence guarantees that
all requests prior to the barrier made to physical medium and,
then, the while barrier request made to the physical medium.

Signed-off-by: Tejun Heo <htejun@gmail.com>
Signed-off-by: Jens Axboe <axboe@suse.de>
drivers/ide/ide-disk.c
drivers/ide/ide-io.c