How to change nr_requests or queue_depth 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, 6, 7, 8, 9
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.