search for: lock_rename

Displaying 2 results from an estimated 2 matches for "lock_rename".

Did you mean: localrename
2011 Sep 05
0
Slow performance
...n D state when the server is in "constant few kbytes read only state", they look like: node#0: 10739 D imapd ocfs2_lookup_lock_orphan_dir 11658 D imapd ocfs2_reserve_suballoc_bits 12326 D imapd ocfs2_lookup_lock_orphan_dir 12330 D pop3d lock_rename 12351 D imapd ocfs2_lookup_lock_orphan_dir 12357 D imapd ocfs2_lookup_lock_orphan_dir 12359 D imapd unlinkat 12381 D imapd ocfs2_lookup_lock_orphan_dir 12498 D deliverquota ocfs2_wait_for_mask 12710 D pop3d ocfs2_reserve_suballo...
2009 Feb 12
0
Deadlock in rename path
...9;mv f1 f2' and in parallel do something like 'rmdir d2' then ocfs2_double_lock() can try locking directories in order 'd2','d1' but ocfs2_rmdir() tries locking directories in order 'd1', 'd2' -> deadlock. The solution could be to mimic VFS behavior in lock_rename() and check whether one of the directories is not parent of the other one and lock in appropriate order. But the problem with this is that we don't have directory dentries in ocfs2_rename(). Hopefully obtaining them via i_dentry should be possible but I'm not completely certain about intera...