public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* reboot notifier priority definitions
@ 2001-09-10 23:56 Andreas Steinmetz
  2001-09-11  1:18 ` Neil Brown
  0 siblings, 1 reply; 5+ messages in thread
From: Andreas Steinmetz @ 2001-09-10 23:56 UTC (permalink / raw)
  To: linux-kernel

As a suggestion to prevent further shutdown/reboot notifier processing problems
here's a (crude) attempt of definitions for include/linux/notifier.h. I do
believe it needs to be heavily reworked by someone with a broad kernel overview.

#define NOTIFY_REBOOT_PHYSICAL    0x00 /* scsi */
#define NOTIFY_REBOOT_LOGICAL     0x10 /* md, lvm */
#define NOTIFY_REBOOT_FS          0x20 /* knfsd */
#define NOTIFY_REBOOT_APPLICATION 0x30 /* tux */

The current situation of not having such definitions already did lead to a
kernel oops (md<->scsi). I do fear that if such definitions are not introduced:

1. code maintainers will strictly stick to priority 0 or will use random
   and not interoperable priorities

2. more and more interference problems will arise due to the above point


Andreas Steinmetz
D.O.M. Datenverarbeitung GmbH

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2001-09-11 14:42 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-09-10 23:56 reboot notifier priority definitions Andreas Steinmetz
2001-09-11  1:18 ` Neil Brown
2001-09-11  1:26   ` Andreas Steinmetz
2001-09-11  5:34     ` Neil Brown
2001-09-11 14:46     ` Alan Cox

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox