2.1.45 inode count wrapping

Bill Hawes (whawes@star.net)
Tue, 15 Jul 1997 15:41:17 -0400


I just booted 2.1.45-6 with no major problems, but I'm now getting a lot
of debugging messages that the inode open count has wrapped. (The
warning message is something I added.) It happens late in the boot
process and at shutdown. Examples:

Jul 15 15:16:39 acer kernel: fs_may_mount: device 1 busy=0
Jul 15 15:16:39 acer kernel: fs_may_umount: after shrink d_count=1
Jul 15 15:16:39 acer kernel: iput: open count wrapped dev=0 inode=8
count=-1
Jul 15 15:16:39 acer kernel: fs_may_mount: device 775 busy=0
Jul 15 15:16:39 acer kernel: fs_may_mount: device 1 busy=0
Jul 15 15:16:39 acer kernel: iput: open count wrapped dev=0 inode=13
count=-1
Jul 15 15:16:39 acer kernel: iput: open count wrapped dev=0 inode=24
count=-1
Jul 15 15:16:39 acer kernel: iput: open count wrapped dev=0 inode=25
count=-1
Jul 15 15:16:39 acer kernel: iput: open count wrapped dev=0 inode=26
count=-1

Could these be pipe inodes being freed? I noticed you changed the pipe
open to use d_alloc_root. Pipe inodes are created with use count 1.

Mounting and unmounting seems to be working OK.

Will keep testing ...

-Bill