sysfs makes scaling suck Re: Asynchronous scsi scanning

From: Benjamin LaHaise
Date: Thu May 17 2007 - 13:33:23 EST


On Wed, May 16, 2007 at 04:57:52AM +0530, Satyam Sharma wrote:
>
> echo 1 > /sys/module/scsi_mod/.../wait_for_async_scans
>
> somewhere in some script. In fact, the latter method seems simpler,
> saner, better (in every which way)!

Please don't force sysfs on people. Just watch how it keels over and dies
when you end up with lots of disks/network interfaces on reasonably sized
boxes. 16 statically allocated files per network interface starts being
a problem once you've got a few thousand interfaces. Anything that forces
me to use sysfs is not gonna fly.

-ben
--
"Time is of no importance, Mr. President, only life is important."
Don't Email: <zyntrop@xxxxxxxxx>.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/