|
@@ -385,8 +385,7 @@ static void request_end(struct fuse_conn *fc, struct fuse_req *req)
|
|
if (!fc->blocked && waitqueue_active(&fc->blocked_waitq))
|
|
if (!fc->blocked && waitqueue_active(&fc->blocked_waitq))
|
|
wake_up(&fc->blocked_waitq);
|
|
wake_up(&fc->blocked_waitq);
|
|
|
|
|
|
- if (fc->num_background == fc->congestion_threshold &&
|
|
|
|
- fc->connected && fc->sb) {
|
|
|
|
|
|
+ if (fc->num_background == fc->congestion_threshold && fc->sb) {
|
|
clear_bdi_congested(fc->sb->s_bdi, BLK_RW_SYNC);
|
|
clear_bdi_congested(fc->sb->s_bdi, BLK_RW_SYNC);
|
|
clear_bdi_congested(fc->sb->s_bdi, BLK_RW_ASYNC);
|
|
clear_bdi_congested(fc->sb->s_bdi, BLK_RW_ASYNC);
|
|
}
|
|
}
|