File system query
Dibyayan Chakraborty
dib.coolguy at gmail.com
Thu Jun 20 21:36:37 EDT 2013
Hi,
I have been following the prescribed articles and it has been a great help.
I am obviously one step closer to implementing the journaling in file
system. But i didn't et the following things.
What would be the correct sequence of steps in implementing it ? is it
something like this ?
1. At the time of filling super block the journal blocks are initialised.
2. If that is successfull all subsequent operations will be done using
transactions. Which starts using journal_start() and journal_stop().
But thats all i could figure out. Please help me with this.
On Tue, Jun 18, 2013 at 11:24 AM, Rohan Puri <rohan.puri15 at gmail.com> wrote:
> On Tue, Jun 18, 2013 at 12:19 AM, Dibyayan Chakraborty
> <dib.coolguy at gmail.com> wrote:
> > Hi,
> > I am working on a project which requires to implement a file system with
> > journaling capability.
> >
> > While i found a number of simple implementations of file systems , they
> all
> > were lacking the journaling capability.
> > like https://github.com/raczzoli/testfs or
> > http://hi.baidu.com/yanyulou/item/e31a15f3b559ae49932af287
> >
> > Now that i have implemented the formating procedures for the file system
> i
> > think the next step would be to implement super_block operations , file
> > operations for the VFS.
> >
> > I came to know that ext3/ext4 uses a jbd interface which implements the
> > journaling capability in a file system independent way. But i could not
> > find any documentation or details for using the jbd interface.
> >
> > So, any help which points out to the specific details of jbd interface or
> > any comments which might be helpful in implementing the journaling
> > capability is welcome.
> >
> >
> > --
> > With Regards
> > Dibyayan Chakraborty
> >
> > _______________________________________________
> > Kernelnewbies mailing list
> > Kernelnewbies at kernelnewbies.org
> > http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
> >
> Hi Dibyayan,
>
> Manish has written a nice article explaining jbd iinterfaces
> implementation of ext3, explains in detail,
>
> Link
> http://www.linuxforums.org/articles/journalling-block-device-jbd-_1544.html
>
> - Rohan
>
--
With Regards
Dibyayan Chakraborty
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20130621/1a3895ec/attachment.html
More information about the Kernelnewbies
mailing list