[Ocfs2-users] git checkout on an ocfs2 filesystem
Tao Ma
tao.ma at oracle.com
Mon Aug 31 18:32:14 PDT 2009
Hi Joel,
Joel Becker wrote:
> On Mon, Aug 31, 2009 at 12:16:36PM -0700, Joel Becker wrote:
>> On Sun, Aug 30, 2009 at 08:19:08PM -0500, Nathaniel Griswold wrote:
>>> Has anyone here had problems with git checkouts on ocfs2?
>> Oh, boy, this is wacky.
>
> No, it's extra wacky:
>
> 5441 lstat64("t/t6015-rev-list-show-all-parents.sh", 0xffc2e318) = -1 ENOENT (No such file or directory)
> 5441 lstat64("t", {st_mode=S_IFDIR|0755, st_size=12288, ...}) = 0
> 5441 open("t/t6015-rev-list-show-all-parents.sh", O_WRONLY|O_CREAT|O_EXCL|O_LARGEFILE, 0777) = ? ERESTARTSYS (To be restarted)
> 5441 --- SIGALRM (Alarm clock) @ 0 (0) ---
> 5441 sigreturn() = ? (mask now [])
> 5441 open("t/t6015-rev-list-show-all-parents.sh", O_WRONLY|O_CREAT|O_EXCL|O_LARGEFILE, 0777) = -1 EEXIST (File exists)
> 5441 write(2, "error: git-checkout-index: unabl"..., 100) = 100
>
> How on earth is userspace seeing ERESTARTSYS? Did someone forget to
> -ive it?
The ERESTARTSYS may happen when we get interrupted from ocfs2_cluster_lock.
I met with it when I rm -rf a very large dir and use "ctrl+c" to stop it
when I tested bug 1162.
Regards,
Tao
More information about the Ocfs2-users
mailing list