Messages in this thread | | | Date | Thu, 4 Dec 2003 19:43:19 -0500 (EST) | From | Avishay Traeger <> | Subject | unsigned long event initialization |
| |
Hello,
I am trying to figure out exactly how Linux assigns generation numbers to inodes. In most filesystems (such as ext2/ext3) the generation number is assigned to event++. This variable is declared in kernel/timer.c, but apparently not initialized. I made 3 files, each one immediately after a reboot, and this is the information I got:
generation# 10417bbc bf612079 8cf4b829
From what I can tell, event is only incremented in a few places in the fs directory. Can someone please explain if event is actually initialized, and if so, to what? And if it is initialized to a specific number, how are these generation numbers so big and varied?
tia.
Avishay Traeger
File System and Storage Lab Computer Science Department Stony Brook University - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |