[Ocfs2-users] umount hang + high CPU
Sunil Mushran
sunil.mushran at oracle.com
Tue Jul 7 10:46:00 PDT 2009
The fix was for the oops you saw.
The hang is a different issue. We have no info on that.
For that, if you would like to diagnose the problem, read up the dlm notes
in the 1.4 user's guide. It explains a debugging process vis-a-vis hangs.
If the issue is dlm related, then we would like to have the tcpdumps.
Lastly, emails are not an efficient vehicle for handling such issues. Use
the bugzilla as it allows us to collect information in one place.
Sunil
sylarrrrrrr at aim.com wrote:
> So this bug is not over yet :(
>
> I have checked my kernel source and indeed it have this patch but I
> still get the hang.
>
> PS. my linux-2.6-2.6.30/fs/ocfs2/dcache.c kernel source has:
>
> 290 else
> 291 mlog_errno(ret);
> 292
> 293 /*
> 294 * In case of error, manually free the allocation and
> do the iput().
> 295 * We need to do this because error here means no
> d_instantiate(),
> 296 * which means iput() will not be called during
> dput(dentry).
> 297 */
> 298 if (ret < 0 && !alias) {
> 299 ocfs2_lock_res_free(&dl->dl_lockres);
> 300 BUG_ON(dl->dl_count != 1);
> 301 spin_lock(&dentry_attach_lock);
> 302 dentry->d_fsdata = NULL;
> 303 spin_unlock(&dentry_attach_lock);
> 304 kfree(dl);
> 305 iput(inode);
> 306 }
> 307
> 308 dput(alias);
> 309
> 310 return ret;
> 311 }
>
>
More information about the Ocfs2-users
mailing list