How to change I/O schedule for block device throught udev?
Issue
- How to change
nr_requestsandqueue_depthfor block device through udev? - Want to set
nr_requestsandqueue_depthas below, but the disk name may be changed some time, so want to achieve it byudev.
# echo 64 > /sys/block/sdab/device/queue_depth
# echo 1024 > /sys/block/sdab/queue/nr_requests
Environment
- Red Hat Enterprise Linux 5
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
