mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Avishay Traeger <atraeger@cs.sunysb.edu>
To: linux-kernel@vger.kernel.org
Subject: unsigned long event initialization
Date: Thu, 4 Dec 2003 19:43:19 -0500 (EST)	[thread overview]
Message-ID: <Pine.GSO.4.53.0312041928280.19421@compserv1> (raw)

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

                 reply	other threads:[~2003-12-05  0:43 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.GSO.4.53.0312041928280.19421@compserv1 \
    --to=atraeger@cs.sunysb.edu \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®