diff options
author | Martin K. Petersen <martin.petersen@oracle.com> | 2012-09-18 18:19:25 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2012-09-20 14:31:38 +0200 |
commit | e2a60da74fc8215c68509a89e9a69c66363153db (patch) | |
tree | c23dd6540dc211e2b2583c3e950a7f6977e3f1df /Kbuild | |
parent | block/blk-tag.c: Remove useless kfree (diff) | |
download | linux-e2a60da74fc8215c68509a89e9a69c66363153db.tar.xz linux-e2a60da74fc8215c68509a89e9a69c66363153db.zip |
block: Clean up special command handling logic
Remove special-casing of non-rw fs style requests (discard). The nomerge
flags are consolidated in blk_types.h, and rq_mergeable() and
bio_mergeable() have been modified to use them.
bio_is_rw() is used in place of bio_has_data() a few places. This is
done to to distinguish true reads and writes from other fs type requests
that carry a payload (e.g. write same).
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Acked-by: Mike Snitzer <snitzer@redhat.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'Kbuild')
0 files changed, 0 insertions, 0 deletions