diff options
| author | Jens Axboe <axboe@suse.de> | 2002-10-17 20:50:45 -0700 |
|---|---|---|
| committer | Jens Axboe <axboe@suse.de> | 2002-10-17 20:50:45 -0700 |
| commit | 0aa8a47e7eb0ec3e23fcb27c7eac5e4d9dcf3ef9 (patch) | |
| tree | bf7ea96976c8721f062f1a1184ca0cc4269cf0ec /include/linux | |
| parent | 148747b7742d8295c78774b743e2a65c728b5ab6 (diff) | |
[PATCH] block cleanups
o Change the blk_dump_rq_flags() a bit
o Use rq->bio as an indication of ->bio is valid or not, instead of
checking REQ_PC. Now we can have a bio on a REQ_BLOCK_PC as well.
o Don't print eio error in end_that_request_first(), if REQ_QUIET is set.
o debug check for valid bio in end_that_request_first()
o Add blk_pc_request() check REQ_BLOCK_PC, similar to blk_fs_request()
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/blkdev.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/blkdev.h b/include/linux/blkdev.h index ccb56d58de6a..42e81a4a0cab 100644 --- a/include/linux/blkdev.h +++ b/include/linux/blkdev.h @@ -235,6 +235,7 @@ struct request_queue #define blk_queue_tagged(q) test_bit(QUEUE_FLAG_QUEUED, &(q)->queue_flags) #define blk_queue_empty(q) elv_queue_empty(q) #define blk_fs_request(rq) ((rq)->flags & REQ_CMD) +#define blk_pc_request(rq) ((rq)->flags & REQ_BLOCK_PC) #define list_entry_rq(ptr) list_entry((ptr), struct request, queuelist) #define rq_data_dir(rq) ((rq)->flags & 1) |
