[PATCH] Only the first two bits in bio->bi_rw and rq->flags match
authorJens Axboe <axboe@suse.de>
Thu, 6 Jul 2006 08:18:05 +0000 (10:18 +0200)
committerJens Axboe <axboe@suse.de>
Thu, 6 Jul 2006 08:18:05 +0000 (10:18 +0200)
commit1959d21232931dfa686769a21161413f10d6652f
treec311b9fce998ce66665bda261c470a6fb981aa5c
parent40359ccb836866435b03a0cb57345002b587d875
[PATCH] Only the first two bits in bio->bi_rw and rq->flags match

Not three, as assumed. This causes the barrier bit to be needlessly set
for some IO.

Signed-off-by: Jens Axboe <axboe@suse.de>
block/ll_rw_blk.c
include/linux/blktrace_api.h