Skip to content
This repository was archived by the owner on Oct 16, 2024. It is now read-only.

Commit 305c609

Browse files
authored
Merge pull request #56 from ribalda/fix#55
BmapCopy: Do not show a warning if noop io scheduder is not available
2 parents 75b871c + ad34640 commit 305c609

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bmaptools/BmapCopy.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -722,9 +722,9 @@ def _tune_block_device(self):
722722
f_scheduler.seek(0)
723723
f_scheduler.write("noop")
724724
except IOError as err:
725-
_log.warning("failed to enable I/O optimization, expect "
725+
_log.debug("failed to enable I/O optimization, expect "
726726
"suboptimal speed (reason: cannot switch to the "
727-
"'noop' I/O scheduler: %s)" % err)
727+
"'noop' I/O scheduler: %s or blk-mq in use)" % err)
728728
else:
729729
# The file contains a list of schedulers with the current
730730
# scheduler in square brackets, e.g., "noop deadline [cfq]".

0 commit comments

Comments
 (0)