Re: Need help tracing regular write activity in 5 s interval

Erik Andersen
2002-06-04T12:04:38Z

On Tue Jun 04, 2002 at 12:21:20PM +0100, Padraig Brady wrote:
> As an aside, Nautilus (1.0.4) does stuff every 2 seconds
> (checking is there a CD inserted) that causes the disk LED to flash.
> The same action also causes the kernel (2.4.13) to fill up the ring
> buffer with: "VFS: Disk change detected on device ide1(22,0)".

This should fix the symptom...

--- linux/fs/block_dev.c.orig Tue Jun 4 06:03:44 2002
+++ linux/fs/block_dev.c Tue Jun 4 06:03:44 2002
@@ -582,8 +582,11 @@
if (!bdops->check_media_change(dev))
return 0;

+ #if 0
+ /* Polling buggy CD-ROM drives can fill the logs. Make it shutup. */
printk(KERN_DEBUG "VFS: Disk change detected on device %s\n",
bdevname(dev));
+ #endif

sb = get_super(dev);
if (sb && invalidate_inodes(sb))
-Erik

--
Erik B. Andersen http://codepoet-consulting.com/
--This message was written using 73% post-consumer electrons--