<div dir="ltr"><div><div><div><div><div><div>Hi,<br></div>I have been following the prescribed articles and it has been a great help.<br><br></div>I am obviously one step closer to implementing the journaling in file system. But i didn't et the following things.<br>
<br></div>What would be the correct sequence of steps in implementing it ? is it something like this ?<br></div>1. At the time of filling super block the journal blocks are initialised.<br></div>2. If that is successfull all subsequent operations will be done using transactions. Which starts using journal_start() and journal_stop().<br>
<br></div>But thats all i could figure out. Please help me with this.<br><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Jun 18, 2013 at 11:24 AM, Rohan Puri <span dir="ltr"><<a href="mailto:rohan.puri15@gmail.com" target="_blank">rohan.puri15@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">On Tue, Jun 18, 2013 at 12:19 AM, Dibyayan Chakraborty<br>
<<a href="mailto:dib.coolguy@gmail.com">dib.coolguy@gmail.com</a>> wrote:<br>
> Hi,<br>
> I am working on a project which requires to implement a file system with<br>
> journaling capability.<br>
><br>
> While i found a number of simple implementations of file systems , they all<br>
> were lacking the journaling capability.<br>
> like <a href="https://github.com/raczzoli/testfs" target="_blank">https://github.com/raczzoli/testfs</a> or<br>
> <a href="http://hi.baidu.com/yanyulou/item/e31a15f3b559ae49932af287" target="_blank">http://hi.baidu.com/yanyulou/item/e31a15f3b559ae49932af287</a><br>
><br>
> Now that i have implemented the formating procedures for the file system i<br>
> think the next step would be to implement super_block operations , file<br>
> operations for the VFS.<br>
><br>
> I came to know that ext3/ext4 uses a jbd interface which implements the<br>
> journaling capability in a file system independent way. But i could not<br>
> find any documentation or details for using the jbd interface.<br>
><br>
> So, any help which points out to the specific details of jbd interface or<br>
> any comments which might be helpful in implementing the journaling<br>
> capability is welcome.<br>
><br>
><br>
> --<br>
> With Regards<br>
> Dibyayan Chakraborty<br>
><br>
</div></div><div class="im">> _______________________________________________<br>
> Kernelnewbies mailing list<br>
> <a href="mailto:Kernelnewbies@kernelnewbies.org">Kernelnewbies@kernelnewbies.org</a><br>
> <a href="http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies" target="_blank">http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies</a><br>
><br>
</div>Hi Dibyayan,<br>
<br>
Manish has written a nice article explaining jbd iinterfaces<br>
implementation of ext3, explains in detail,<br>
<br>
Link <a href="http://www.linuxforums.org/articles/journalling-block-device-jbd-_1544.html" target="_blank">http://www.linuxforums.org/articles/journalling-block-device-jbd-_1544.html</a><br>
<span class="HOEnZb"><font color="#888888"><br>
- Rohan<br>
</font></span></blockquote></div><br><br clear="all"><br>-- <br>With Regards<br>Dibyayan Chakraborty<br>
</div>