forked from liutongxuan/seastar
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
iotune: keep track of actual file_size, and bail on ENOSPC
We may not be able to write the whole file, and in cases like that, we would like to dump a warning and move forward. So let's make file_size an instance member instead of a static property of the iotune_manager. We can also use that to cut short our execution in case of ENOSPC instead of using an early check. Signed-off-by: Glauber Costa <[email protected]>
- Loading branch information
Glauber Costa
committed
Mar 21, 2016
1 parent
69d37f5
commit e2a691f
Showing
1 changed file
with
45 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters