This repository has been archived by the owner on Apr 5, 2024. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix issue jthornber#69 - ENOENT /sys/block/<dev>/queue/discard_granul…
…arity A lot of tests fail due to Errno::ENOENT: No such file or directory @ rb_sysopen - /sys/block/<dev>/queue/discard_granularity when dev is a partition instead of a disk, so we should first find the disk of the partition and then read the discard_granularity file of the disk.
- Loading branch information