mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
blk-wbt: store queue instead of bdi
The bdi was a leftover from when the code was block layer agnostic. Now that we just support a block layer user, store the queue directly. Signed-off-by: Jens Axboe <[email protected]>
This commit is contained in:
parent
bbd7bb7017
commit
d8a0cbfd73
2 changed files with 13 additions and 11 deletions
|
|
@ -87,7 +87,7 @@ struct rq_wb {
|
|||
unsigned long last_issue; /* last non-throttled issue */
|
||||
unsigned long last_comp; /* last non-throttled comp */
|
||||
unsigned long min_lat_nsec;
|
||||
struct backing_dev_info *bdi;
|
||||
struct request_queue *queue;
|
||||
struct rq_wait rq_wait[WBT_NUM_RWQ];
|
||||
|
||||
struct wb_stat_ops *stat_ops;
|
||||
|
|
@ -104,8 +104,6 @@ static inline unsigned int wbt_inflight(struct rq_wb *rwb)
|
|||
return ret;
|
||||
}
|
||||
|
||||
struct backing_dev_info;
|
||||
|
||||
#ifdef CONFIG_BLK_WBT
|
||||
|
||||
void __wbt_done(struct rq_wb *, enum wbt_flags);
|
||||
|
|
|
|||
Loading…
Reference in a new issue