* [PATCH] speedup loop device node creation.
@ 2007-09-10 7:56 Harald Hoyer
2007-09-10 14:48 ` Marco d'Itri
` (5 more replies)
0 siblings, 6 replies; 7+ messages in thread
From: Harald Hoyer @ 2007-09-10 7:56 UTC (permalink / raw)
To: linux-hotplug
---
etc/udev/rules.d/50-udev-default.rules | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/etc/udev/rules.d/50-udev-default.rules b/etc/udev/rules.d/50-udev-default.rules
index bdce004..3da9e85 100644
--- a/etc/udev/rules.d/50-udev-default.rules
+++ b/etc/udev/rules.d/50-udev-default.rules
@@ -60,6 +60,7 @@ KERNEL="irlpt[0-9]*", GROUP="lp"
# block, tapes, block-releated
SUBSYSTEM="block", GROUP="disk", MODE="0640"
+SUBSYSTEM="block", KERNEL="loop[0-9]*", OPTIONS+="last_rule"
SUBSYSTEM="block", KERNEL="sr[0-9]*", SYMLINK+="scd%n"
SUBSYSTEM="scsi", KERNEL="[0-9]*:[0-9]*", ACTION="add", ATTR{type}="0|7|14", ATTR{timeout}="60"
SUBSYSTEM="scsi", KERNEL="[0-9]*:[0-9]*", ACTION="add", ATTR{type}="1", ATTR{timeout}="900"
--
1.5.2.4
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
^ permalink raw reply related [flat|nested] 7+ messages in thread* Re: [PATCH] speedup loop device node creation.
2007-09-10 7:56 [PATCH] speedup loop device node creation Harald Hoyer
@ 2007-09-10 14:48 ` Marco d'Itri
2007-09-11 6:45 ` Harald Hoyer
` (4 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: Marco d'Itri @ 2007-09-10 14:48 UTC (permalink / raw)
To: linux-hotplug
On Sep 10, Harald Hoyer <harald@redhat.com> wrote:
> +SUBSYSTEM="block", KERNEL="loop[0-9]*", OPTIONS+="last_rule"
Why? Please explain this change.
--
ciao,
Marco
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
^ permalink raw reply [flat|nested] 7+ messages in thread* Re: [PATCH] speedup loop device node creation.
2007-09-10 7:56 [PATCH] speedup loop device node creation Harald Hoyer
2007-09-10 14:48 ` Marco d'Itri
@ 2007-09-11 6:45 ` Harald Hoyer
2007-09-11 8:49 ` Marco d'Itri
` (3 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: Harald Hoyer @ 2007-09-11 6:45 UTC (permalink / raw)
To: linux-hotplug
[-- Attachment #1.1: Type: text/plain, Size: 221 bytes --]
Marco d'Itri schrieb:
> On Sep 10, Harald Hoyer <harald@redhat.com> wrote:
>
>> +SUBSYSTEM=="block", KERNEL=="loop[0-9]*", OPTIONS+="last_rule"
> Why? Please explain this change.
>
Same reason as "last_rule" for tty*.
[-- Attachment #1.2: S/MIME Cryptographic Signature --]
[-- Type: application/x-pkcs7-signature, Size: 3623 bytes --]
[-- Attachment #2: Type: text/plain, Size: 228 bytes --]
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
[-- Attachment #3: Type: text/plain, Size: 226 bytes --]
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
^ permalink raw reply [flat|nested] 7+ messages in thread* Re: [PATCH] speedup loop device node creation.
2007-09-10 7:56 [PATCH] speedup loop device node creation Harald Hoyer
2007-09-10 14:48 ` Marco d'Itri
2007-09-11 6:45 ` Harald Hoyer
@ 2007-09-11 8:49 ` Marco d'Itri
2007-09-11 15:32 ` Kay Sievers
` (2 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: Marco d'Itri @ 2007-09-11 8:49 UTC (permalink / raw)
To: linux-hotplug
[-- Attachment #1.1: Type: text/plain, Size: 351 bytes --]
On Sep 11, Harald Hoyer <harald@redhat.com> wrote:
> Marco d'Itri schrieb:
>> On Sep 10, Harald Hoyer <harald@redhat.com> wrote:
>>> +SUBSYSTEM=="block", KERNEL=="loop[0-9]*", OPTIONS+="last_rule"
>> Why? Please explain this change.
> Same reason as "last_rule" for tty*.
It's still not obvious what they have in common.
--
ciao,
Marco
[-- Attachment #1.2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
[-- Attachment #2: Type: text/plain, Size: 228 bytes --]
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
[-- Attachment #3: Type: text/plain, Size: 226 bytes --]
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
^ permalink raw reply [flat|nested] 7+ messages in thread* Re: [PATCH] speedup loop device node creation.
2007-09-10 7:56 [PATCH] speedup loop device node creation Harald Hoyer
` (2 preceding siblings ...)
2007-09-11 8:49 ` Marco d'Itri
@ 2007-09-11 15:32 ` Kay Sievers
2007-09-11 15:48 ` Harald Hoyer
2007-09-11 15:52 ` Marco d'Itri
5 siblings, 0 replies; 7+ messages in thread
From: Kay Sievers @ 2007-09-11 15:32 UTC (permalink / raw)
To: linux-hotplug
On 9/11/07, Harald Hoyer <harald@redhat.com> wrote:
> Marco d'Itri schrieb:
> > On Sep 10, Harald Hoyer <harald@redhat.com> wrote:
> >
> >> +SUBSYSTEM="block", KERNEL="loop[0-9]*", OPTIONS+="last_rule"
> > Why? Please explain this change.
> >
>
> Same reason as "last_rule" for tty*.
Can we sure, that nobody wants to do anything with the loop blockdev events?
The tty events are skipped because there are hundreds of events at
bootup which we expect to be useless.
Kay
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
^ permalink raw reply [flat|nested] 7+ messages in thread* Re: [PATCH] speedup loop device node creation.
2007-09-10 7:56 [PATCH] speedup loop device node creation Harald Hoyer
` (3 preceding siblings ...)
2007-09-11 15:32 ` Kay Sievers
@ 2007-09-11 15:48 ` Harald Hoyer
2007-09-11 15:52 ` Marco d'Itri
5 siblings, 0 replies; 7+ messages in thread
From: Harald Hoyer @ 2007-09-11 15:48 UTC (permalink / raw)
To: linux-hotplug
[-- Attachment #1.1: Type: text/plain, Size: 703 bytes --]
Kay Sievers schrieb:
> On 9/11/07, Harald Hoyer <harald@redhat.com> wrote:
>> Marco d'Itri schrieb:
>>> On Sep 10, Harald Hoyer <harald@redhat.com> wrote:
>>>
>>>> +SUBSYSTEM=="block", KERNEL=="loop[0-9]*", OPTIONS+="last_rule"
>>> Why? Please explain this change.
>>>
>> Same reason as "last_rule" for tty*.
>
> Can we sure, that nobody wants to do anything with the loop blockdev events?
>
> The tty events are skipped because there are hundreds of events at
> bootup which we expect to be useless.
>
> Kay
loop must be used with losetup... can be done, if wanted in 00-49-*.rule files.
In case of 128 or more loop devices (max_loop module parameter), this is as nice to have, as the tty* events.
[-- Attachment #1.2: S/MIME Cryptographic Signature --]
[-- Type: application/x-pkcs7-signature, Size: 3623 bytes --]
[-- Attachment #2: Type: text/plain, Size: 228 bytes --]
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
[-- Attachment #3: Type: text/plain, Size: 226 bytes --]
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
^ permalink raw reply [flat|nested] 7+ messages in thread* Re: [PATCH] speedup loop device node creation.
2007-09-10 7:56 [PATCH] speedup loop device node creation Harald Hoyer
` (4 preceding siblings ...)
2007-09-11 15:48 ` Harald Hoyer
@ 2007-09-11 15:52 ` Marco d'Itri
5 siblings, 0 replies; 7+ messages in thread
From: Marco d'Itri @ 2007-09-11 15:52 UTC (permalink / raw)
To: linux-hotplug
[-- Attachment #1.1: Type: text/plain, Size: 362 bytes --]
On Sep 11, Harald Hoyer <harald@redhat.com> wrote:
> loop must be used with losetup... can be done, if wanted in 00-49-*.rule
> files.
> In case of 128 or more loop devices (max_loop module parameter), this is as
> nice to have, as the tty* events.
Hardly a common configuration.
I object to special-casing more devices this way.
--
ciao,
Marco
[-- Attachment #1.2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
[-- Attachment #2: Type: text/plain, Size: 228 bytes --]
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
[-- Attachment #3: Type: text/plain, Size: 226 bytes --]
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2007-09-11 15:52 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-09-10 7:56 [PATCH] speedup loop device node creation Harald Hoyer
2007-09-10 14:48 ` Marco d'Itri
2007-09-11 6:45 ` Harald Hoyer
2007-09-11 8:49 ` Marco d'Itri
2007-09-11 15:32 ` Kay Sievers
2007-09-11 15:48 ` Harald Hoyer
2007-09-11 15:52 ` Marco d'Itri
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).