diff options
Diffstat (limited to 'block/elevator.c')
-rw-r--r-- | block/elevator.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/block/elevator.c b/block/elevator.c index 7073a9072577..e220f0c543e3 100644 --- a/block/elevator.c +++ b/block/elevator.c | |||
@@ -33,17 +33,16 @@ | |||
33 | #include <linux/compiler.h> | 33 | #include <linux/compiler.h> |
34 | #include <linux/delay.h> | 34 | #include <linux/delay.h> |
35 | #include <linux/blktrace_api.h> | 35 | #include <linux/blktrace_api.h> |
36 | #include <trace/block.h> | ||
37 | #include <linux/hash.h> | 36 | #include <linux/hash.h> |
38 | #include <linux/uaccess.h> | 37 | #include <linux/uaccess.h> |
39 | 38 | ||
39 | #include <trace/events/block.h> | ||
40 | |||
40 | #include "blk.h" | 41 | #include "blk.h" |
41 | 42 | ||
42 | static DEFINE_SPINLOCK(elv_list_lock); | 43 | static DEFINE_SPINLOCK(elv_list_lock); |
43 | static LIST_HEAD(elv_list); | 44 | static LIST_HEAD(elv_list); |
44 | 45 | ||
45 | DEFINE_TRACE(block_rq_abort); | ||
46 | |||
47 | /* | 46 | /* |
48 | * Merge hash stuff. | 47 | * Merge hash stuff. |
49 | */ | 48 | */ |
@@ -55,9 +54,6 @@ static const int elv_hash_shift = 6; | |||
55 | #define rq_hash_key(rq) ((rq)->sector + (rq)->nr_sectors) | 54 | #define rq_hash_key(rq) ((rq)->sector + (rq)->nr_sectors) |
56 | #define ELV_ON_HASH(rq) (!hlist_unhashed(&(rq)->hash)) | 55 | #define ELV_ON_HASH(rq) (!hlist_unhashed(&(rq)->hash)) |
57 | 56 | ||
58 | DEFINE_TRACE(block_rq_insert); | ||
59 | DEFINE_TRACE(block_rq_issue); | ||
60 | |||
61 | /* | 57 | /* |
62 | * Query io scheduler to see if the current process issuing bio may be | 58 | * Query io scheduler to see if the current process issuing bio may be |
63 | * merged with rq. | 59 | * merged with rq. |