-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Avoid counting disk io twice for NVMe SSD block device
The first NVMe block device will be named as nvme0n1, and its partitions are nvme0n1p1, nvme0n1p2, etc. Therefore we could not use the last letter to identify if the name is a partition or not.
- Loading branch information
1 parent
4241713
commit 3af5e95
Showing
2 changed files
with
44 additions
and
10 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
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