Tom Zanussi
fd30fc3256
[PATCH] relayfs: remove warning printk() in relay_switch_subbuf()
...
There's currently a diagnostic printk in relay_switch_subbuf() meant as
a warning if you accidentally try to log an event larger than the
sub-buffer size.
The problem is if this happens while logging from somewhere it's not
safe to be doing printks, such as in the scheduler, you can end up with
a deadlock. This patch removes the warning from relay_switch_subbuf()
and instead prints some diagnostic info when the channel is closed.
Thanks to Mathieu Desnoyers for pointing out the problem and
suggesting a fix.
Signed-off-by: Tom Zanussi <zanussi@us.ibm.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-12-20 17:33:22 -08:00
..
2005-12-12 08:57:44 -08:00
2005-11-28 21:00:29 +00:00
2005-12-18 16:28:24 -08:00
2005-11-14 15:24:59 -08:00
2005-11-20 21:11:31 -08:00
2005-11-13 18:14:17 -08:00
2005-11-13 18:14:16 -08:00
2005-11-29 16:16:41 -08:00
2005-04-16 15:20:36 -07:00
2005-11-14 19:55:16 -08:00
2005-11-12 10:56:06 +01:00
2005-12-16 10:52:46 -08:00
2005-11-18 22:00:17 +01:00
2005-11-13 18:14:10 -08:00
2005-12-12 08:57:42 -08:00
2005-11-16 00:52:57 -08:00
2005-11-28 14:42:23 -08:00
2005-11-17 16:23:43 +00:00
2005-11-17 16:23:42 +00:00
2005-12-12 22:31:17 -08:00
2005-11-13 18:14:10 -08:00
2005-11-12 10:14:02 -08:00
2005-11-13 18:14:10 -08:00
2005-11-12 10:55:21 +01:00
2005-11-22 19:39:30 -08:00
2005-11-13 18:14:13 -08:00
2005-11-19 22:17:55 +01:00
2005-11-13 18:14:12 -08:00
2005-12-12 08:57:45 -08:00
2005-12-15 02:20:15 +01:00
2005-11-13 18:14:16 -08:00
2005-12-12 08:57:43 -08:00
2005-11-13 18:14:13 -08:00
2005-11-22 21:58:37 -08:00
2005-12-12 08:57:45 -08:00
2005-12-13 02:29:45 -05:00
2005-12-12 08:57:43 -08:00
2005-11-28 14:42:23 -08:00
2005-12-16 10:21:23 -08:00
2005-11-22 19:39:30 -08:00
2005-12-19 23:12:09 -05:00
2005-11-22 09:13:42 -08:00
2005-11-13 18:14:12 -08:00
2005-12-12 08:57:45 -08:00
2005-12-15 02:11:55 +01:00
2005-11-13 18:14:15 -08:00
2005-11-13 18:14:10 -08:00
2005-11-13 18:14:10 -08:00
2005-11-13 18:14:13 -08:00
2005-12-12 08:57:42 -08:00
2005-12-20 17:33:22 -08:00
2005-11-28 14:42:25 -08:00
2005-12-19 13:54:44 -08:00
2005-11-28 14:42:23 -08:00
2005-11-28 18:09:44 +00:00
2005-11-20 21:25:15 -08:00
2005-11-13 18:14:13 -08:00
2005-11-23 08:44:05 -08:00
2005-11-28 14:42:25 -08:00
2005-12-05 13:42:06 -08:00
2005-11-13 18:14:14 -08:00
2005-12-12 08:57:42 -08:00
2005-11-20 00:51:33 -05:00
2005-11-23 23:04:28 -08:00
2005-11-13 18:14:18 -08:00