From: sirpj@ecs.csus.edu
To: linux-fsdevel@vger.kernel.org
Subject: Persistent module data
Date: Wed, 11 Aug 2004 10:15:22 -0700 (PDT) [thread overview]
Message-ID: <33598.128.115.223.147.1092244522.squirrel@gaia.ecs.csus.edu> (raw)
Hi,
I signed up a while ago. Because I am working at LLNL as an Intern and
have been given a neat assignment that involves coding some extensions
to reiser. I am implementing a file queueing mechanism that maintains
files as they are written in FIFO order. When you call ioctl() the 'next
file' in the queue is returned.
I have the FIFO queue implemented as a linked list that keeps track of
the file names and directory inodes that they are associated with. (This
was my first stab at it).
My question is about data preservation from inside a FS... I want to
preserve the contents of my queue in case of a crash. When mount is
called I want to scan this list and rebuild the queues in memory. Is it
possible to write data out to a persistent file from within the system?
Would using the module parameter approach be a good way to go? . . . But
from what I understand it wouldn't necessarily export the data if the
system hangs and the module can't be removed.
If anyone can help, has ideas, or some pointers, I would be very
grateful.
Thank You so much!
Jenn
next reply other threads:[~2004-08-11 17:15 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-08-11 17:15 sirpj [this message]
2004-08-12 5:10 ` Persistent module data Swapnil Nagle
2004-08-13 0:25 ` Jeff Mahoney
-- strict thread matches above, loose matches on Subject: below --
2004-08-12 14:47 sirpj
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=33598.128.115.223.147.1092244522.squirrel@gaia.ecs.csus.edu \
--to=sirpj@ecs.csus.edu \
--cc=linux-fsdevel@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;
as well as URLs for NNTP newsgroup(s).