|
@@ -229,6 +229,11 @@ static inline int bdi_rw_congested(struct backing_dev_info *bdi)
|
|
(1 << BDI_async_congested));
|
|
(1 << BDI_async_congested));
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+enum {
|
|
|
|
+ BLK_RW_ASYNC = 0,
|
|
|
|
+ BLK_RW_SYNC = 1,
|
|
|
|
+};
|
|
|
|
+
|
|
void clear_bdi_congested(struct backing_dev_info *bdi, int sync);
|
|
void clear_bdi_congested(struct backing_dev_info *bdi, int sync);
|
|
void set_bdi_congested(struct backing_dev_info *bdi, int sync);
|
|
void set_bdi_congested(struct backing_dev_info *bdi, int sync);
|
|
long congestion_wait(int sync, long timeout);
|
|
long congestion_wait(int sync, long timeout);
|