Thank you a lot for your time.
Answers and further questions follow:

On Tue, 2009-07-07 at 11:46 +0530, SandeepKsinha wrote:

> What kind of tasks are you referring to? Are these some kind of
> administrative tasks?
> Or do you mean the I/O also as such tasks?

Yes, these tasks are I/O related.

> 
> handle = ext3_journal_start (....);
> spin_lock_prefetch(&inode_lock);
> 
> inode = alloc_inode(sb);
> if (inode) {
>                spin_lock(&inode_lock);
>                __inode_add_to_lists(sb, NULL, inode);
>                inode->i_ino = 3;
>                 inode->i_state = 0;
>                spin_unlock(&inode_lock);
>  }
> 
This code you suggest comes from the VFS new_inode() function. If I want
to use it as it is in my ext3 patch I have to export the inode_lock
together with the alloc_inode() function, which is declared as static.
This doesn't sound good to me.



--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to [email protected]
Please read the FAQ at http://kernelnewbies.org/FAQ

Reply via email to