diff options
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/backing-dev.h | 6 | ||||
-rw-r--r-- | include/linux/blkdev.h | 8 |
2 files changed, 7 insertions, 7 deletions
diff --git a/include/linux/backing-dev.h b/include/linux/backing-dev.h index 0ec2c594868e..3a52a63c1351 100644 --- a/include/linux/backing-dev.h +++ b/include/linux/backing-dev.h | |||
@@ -229,9 +229,9 @@ static inline int bdi_rw_congested(struct backing_dev_info *bdi) | |||
229 | (1 << BDI_async_congested)); | 229 | (1 << BDI_async_congested)); |
230 | } | 230 | } |
231 | 231 | ||
232 | void clear_bdi_congested(struct backing_dev_info *bdi, int rw); | 232 | void clear_bdi_congested(struct backing_dev_info *bdi, int sync); |
233 | void set_bdi_congested(struct backing_dev_info *bdi, int rw); | 233 | void set_bdi_congested(struct backing_dev_info *bdi, int sync); |
234 | long congestion_wait(int rw, long timeout); | 234 | long congestion_wait(int sync, long timeout); |
235 | 235 | ||
236 | 236 | ||
237 | static inline bool bdi_cap_writeback_dirty(struct backing_dev_info *bdi) | 237 | static inline bool bdi_cap_writeback_dirty(struct backing_dev_info *bdi) |
diff --git a/include/linux/blkdev.h b/include/linux/blkdev.h index 49ae07951d55..bb3d39978701 100644 --- a/include/linux/blkdev.h +++ b/include/linux/blkdev.h | |||
@@ -779,18 +779,18 @@ extern int sg_scsi_ioctl(struct request_queue *, struct gendisk *, fmode_t, | |||
779 | * congested queues, and wake up anyone who was waiting for requests to be | 779 | * congested queues, and wake up anyone who was waiting for requests to be |
780 | * put back. | 780 | * put back. |
781 | */ | 781 | */ |
782 | static inline void blk_clear_queue_congested(struct request_queue *q, int rw) | 782 | static inline void blk_clear_queue_congested(struct request_queue *q, int sync) |
783 | { | 783 | { |
784 | clear_bdi_congested(&q->backing_dev_info, rw); | 784 | clear_bdi_congested(&q->backing_dev_info, sync); |
785 | } | 785 | } |
786 | 786 | ||
787 | /* | 787 | /* |
788 | * A queue has just entered congestion. Flag that in the queue's VM-visible | 788 | * A queue has just entered congestion. Flag that in the queue's VM-visible |
789 | * state flags and increment the global gounter of congested queues. | 789 | * state flags and increment the global gounter of congested queues. |
790 | */ | 790 | */ |
791 | static inline void blk_set_queue_congested(struct request_queue *q, int rw) | 791 | static inline void blk_set_queue_congested(struct request_queue *q, int sync) |
792 | { | 792 | { |
793 | set_bdi_congested(&q->backing_dev_info, rw); | 793 | set_bdi_congested(&q->backing_dev_info, sync); |
794 | } | 794 | } |
795 | 795 | ||
796 | extern void blk_start_queue(struct request_queue *q); | 796 | extern void blk_start_queue(struct request_queue *q); |