Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ACT doesn't distinguish between partitions and devices so setting scheduler doesn't work #48

Open
realmgic opened this issue Nov 11, 2019 · 0 comments

Comments

@realmgic
Copy link
Member

since setting a scheduler is being done at the device level, providing a list of partitions results in not actually setting the scheduler at all:

ERROR: couldn't open /sys/block/nvme0n1p2/queue/scheduler errno 2 'No such file or directory'
/dev/nvme0n1p2 size = 1187558457344 bytes, 1132544 large blocks, minimum IO size = 512 bytes
ERROR: couldn't open /sys/block/nvme0n1p3/queue/scheduler errno 2 'No such file or directory'
/dev/nvme0n1p3 size = 1188632199168 bytes, 1133568 large blocks, minimum IO size = 512 bytes
ERROR: couldn't open /sys/block/nvme0n1p4/queue/scheduler errno 2 'No such file or directory'
/dev/nvme0n1p4 size = 1188632199168 bytes, 1133568 large blocks, minimum IO size = 512 bytes
ERROR: couldn't open /sys/block/nvme0n1p5/queue/scheduler errno 2 'No such file or directory'
/dev/nvme0n1p5 size = 1188632199168 bytes, 1133568 large blocks, minimum IO size = 512 bytes
ERROR: couldn't open /sys/block/nvme0n1p6/queue/scheduler errno 2 'No such file or directory'
/dev/nvme0n1p6 size = 1188632199168 bytes, 1133568 large blocks, minimum IO size = 512 bytes
ERROR: couldn't open /sys/block/nvme1n1p2/queue/scheduler errno 2 'No such file or directory'
/dev/nvme1n1p2 size = 1187558457344 bytes, 1132544 large blocks, minimum IO size = 512 bytes
ERROR: couldn't open /sys/block/nvme1n1p3/queue/scheduler errno 2 'No such file or directory'
/dev/nvme1n1p3 size = 1188632199168 bytes, 1133568 large blocks, minimum IO size = 512 bytes
ERROR: couldn't open /sys/block/nvme1n1p4/queue/scheduler errno 2 'No such file or directory'
/dev/nvme1n1p4 size = 1188632199168 bytes, 1133568 large blocks, minimum IO size = 512 bytes
ERROR: couldn't open /sys/block/nvme1n1p5/queue/scheduler errno 2 'No such file or directory'
/dev/nvme1n1p5 size = 1188632199168 bytes, 1133568 large blocks, minimum IO size = 512 bytes
ERROR: couldn't open /sys/block/nvme1n1p6/queue/scheduler errno 2 'No such file or directory'
/dev/nvme1n1p6 size = 1188632199168 bytes, 1133568 large blocks, minimum IO size = 512 bytes
# ls  /sys/block/nvme1n1/queue/scheduler
/sys/block/nvme1n1/queue/scheduler
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant