From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nathan Lynch Subject: lockdep complaint from ckpt-v15 Date: Fri, 08 May 2009 11:59:53 -0500 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: containers-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org Errors-To: containers-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org To: containers-qjLDD68F18O7TbgM5vRIOg@public.gmane.org List-Id: containers.vger.kernel.org I tried checkpointing a container (created with lxc tools) and while I didn't expect it to succeed, I did get this lockdep report. Haven't looked into it yet, anyone else seeing this? # uname -a Linux localhost.localdomain 2.6.30-rc3 #1 SMP Fri May 8 10:58:07 CDT 2009 i686 i686 i386 GNU/Linux # ./ckpt -c 3265 > /tmp/foo ============================================= [ INFO: possible recursive locking detected ] 2.6.30-rc3 #1 --------------------------------------------- ckpt/3643 is trying to acquire lock: (&sb->s_type->i_mutex_key#8){+.+.+.}, at: [] generic_file_aio_write+0x59/0xc2 but task is already holding lock: (&sb->s_type->i_mutex_key#8){+.+.+.}, at: [] pipe_file_checkpoint+0xd7/0x20d other info that might help us debug this: 1 lock held by ckpt/3643: #0: (&sb->s_type->i_mutex_key#8){+.+.+.}, at: [] pipe_file_checkpoint+0xd7/0x20d stack backtrace: Pid: 3643, comm: ckpt Not tainted 2.6.30-rc3 #1 Call Trace: [] ? printk+0x14/0x16 [] __lock_acquire+0xc3e/0x132a [] ? lock_release_holdtime+0x1a/0x172 [] ? avc_has_perm_noaudit+0x376/0x39d [] lock_acquire+0x89/0xa6 [] ? generic_file_aio_write+0x59/0xc2 [] mutex_lock_nested+0x4e/0x274 [] ? generic_file_aio_write+0x59/0xc2 [] ? generic_file_aio_write+0x59/0xc2 [] generic_file_aio_write+0x59/0xc2 [] ext3_file_write+0x1f/0x92 [] do_sync_write+0xb0/0xee [] ? autoremove_wake_function+0x0/0x38 [] ? selinux_file_permission+0xa1/0xa5 [] ? security_file_permission+0x14/0x16 [] ? do_sync_write+0x0/0xee [] vfs_write+0x8f/0x133 [] ? trace_hardirqs_on_caller+0x119/0x13d [] ckpt_kwrite+0x50/0x94 [] ckpt_write_obj+0x44/0x77 [] pipe_file_checkpoint+0x10f/0x20d [] ? ckpt_kwrite+0x50/0x94 [] checkpoint_file+0x1e/0x21 [] checkpoint_obj+0xd2/0xf3 [] checkpoint_fd_table+0x16a/0x24d [] checkpoint_task+0x1a6/0x364 [] do_checkpoint+0x46d/0x5a7 [] sys_checkpoint+0x6c/0x82 [] syscall_call+0x7/0xb c/r: FILE users 4 != count 6