add timeguard and fix io_quota

This commit is contained in:
renju96
2023-08-21 06:40:35 +00:00
committed by ob-robot
parent 9e1dda3a1f
commit e4e4dea9c1
3 changed files with 20 additions and 14 deletions

View File

@ -1971,7 +1971,7 @@ int ObAsyncIOChannel::submit(ObIORequest &req)
}
} else if (device_channel_->used_io_depth_ > device_channel_->max_io_depth_) {
ret = OB_EAGAIN;
LOG_INFO("reach max io depth", K(ret), K(device_channel_->used_io_depth_), K(device_channel_->max_io_depth_));
FLOG_INFO("reach max io depth", K(ret), K(device_channel_->used_io_depth_), K(device_channel_->max_io_depth_));
} else {
ATOMIC_INC(&submit_count_);
ATOMIC_FAA(&device_channel_->used_io_depth_, get_io_depth(req.io_size_));