[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: What is the correct way to disable NCQ? Where to report upstream?



On Wed, Jul 29, 2009 at 01:48:49PM -0500, Ron Johnson wrote:
Subsequently, I disabled NCQ with:
$ echo 1 > /sys/block/sda/device/queue_depth
$ echo 1 > /sys/block/sdb/device/queue_depth
I'd put them in rc.local, or /etc/sysctl.conf (depending on if Google says that /etc/sysctl.conf says that's the correct place).

No, not sysctl.conf, use /etc/sysfs.conf (package sysfsutils). You can then add the two lines:
block/sda/device/queue_depth=1
block/sdb/device/queue_depth=1

sysctl.conf is for /proc/sys.

Shade and sweet water!

	Stephan

--
| Stephan Seitz             E-Mail: stse@fsing.rootsland.net |
| PGP Public Keys: http://fsing.rootsland.net/~stse/pgp.html |

Attachment: signature.asc
Description: Digital signature


Reply to: