After each boot in dmesg log appear messages see below: [ 7322.502515] ====================================================== [ 7322.502517] [ INFO: possible circular locking dependency detected ] [ 7322.502519] 4.6.6-300.fc24.x86_64+debug #1 Not tainted [ 7322.502520] ------------------------------------------------------- [ 7322.502521] DOM Worker/23663 is trying to acquire lock: [ 7322.502522]  (&sb->s_type->i_mutex_key#20){+.+.+.}, at: [] xfs_file_buffered_aio_write+0x6d/0x350 [xfs] [ 7322.502613]                 but task is already holding lock: [ 7322.502614]  (&pipe->mutex/1){+.+.+.}, at: [] pipe_lock+0x1e/0x20 [ 7322.502622]                 which lock already depends on the new lock. [ 7322.502625]                 the existing dependency chain (in reverse order) is: [ 7322.502626]                 -> #2 (&pipe->mutex/1){+.+.+.}: [ 7322.502631]        [] lock_acquire+0xfe/0x1f0 [ 7322.502636]        [] mutex_lock_nested+0x86/0x400 [ 7322.502641]        [] pipe_lock+0x1e/0x20 [ 7322.502644]        [] splice_to_pipe+0x40/0x260 [ 7322.502650]        [] __generic_file_splice_read+0x633/0x710 [ 7322.502653]        [] generic_file_splice_read+0x45/0x90 [ 7322.502656]        [] xfs_file_splice_read+0x11c/0x2a0 [xfs] [ 7322.502725]        [] do_splice_to+0x79/0x90 [ 7322.502728]        [] SyS_splice+0x7f4/0x830 [ 7322.502731]        [] entry_SYSCALL_64_fastpath+0x1f/0xbd [ 7322.502735]                 -> #1 (&(&ip->i_iolock)->mr_lock){++++++}: [ 7322.502738]        [] lock_acquire+0xfe/0x1f0 [ 7322.502741]        [] down_write_nested+0x5e/0xc0 [ 7322.502744]        [] xfs_ilock+0x215/0x2c0 [xfs] [ 7322.502792]        [] xfs_file_buffered_aio_write+0x7a/0x350 [xfs] [ 7322.502823]        [] xfs_file_write_iter+0x141/0x160 [xfs] [ 7322.502850]        [] __vfs_write+0xce/0x120 [ 7322.502853]        [] vfs_write+0xa5/0x190 [ 7322.502855]        [] SyS_write+0x58/0xd0 [ 7322.502857]        [] entry_SYSCALL_64_fastpath+0x1f/0xbd [ 7322.502860]                 -> #0 (&sb->s_type->i_mutex_key#20){+.+.+.}: [ 7322.502864]        [] __lock_acquire+0x1775/0x18e0 [ 7322.502868]        [] lock_acquire+0xfe/0x1f0 [ 7322.502870]        [] mutex_lock_nested+0x86/0x400 [ 7322.502873]        [] xfs_file_buffered_aio_write+0x6d/0x350 [xfs] [ 7322.502900]        [] xfs_file_write_iter+0x141/0x160 [xfs] [ 7322.502923]        [] vfs_iter_write+0x7b/0xd0 [ 7322.502926]        [] iter_file_splice_write+0x270/0x3c0 [ 7322.502929]        [] SyS_splice+0x369/0x830 [ 7322.502931]        [] entry_SYSCALL_64_fastpath+0x1f/0xbd [ 7322.502934]                 other info that might help us debug this: [ 7322.502936] Chain exists of:                  &sb->s_type->i_mutex_key#20 --> &(&ip->i_iolock)- >mr_lock --> &pipe->mutex/1 [ 7322.502941]  Possible unsafe locking scenario: [ 7322.502943]        CPU0                    CPU1 [ 7322.502944]        ----                    ---- [ 7322.502945]   lock(&pipe->mutex/1); [ 7322.502948]                                lock(&(&ip->i_iolock)- >mr_lock); [ 7322.502949]                                lock(&pipe->mutex/1); [ 7322.502952]   lock(&sb->s_type->i_mutex_key#20); [ 7322.502954]                  *** DEADLOCK *** [ 7322.502957] 2 locks held by DOM Worker/23663: [ 7322.502958]  #0:  (sb_writers#16){.+.+.+}, at: [] __sb_start_write+0xb4/0xf0 [ 7322.502963]  #1:  (&pipe->mutex/1){+.+.+.}, at: [] pipe_lock+0x1e/0x20 [ 7322.502968]                 stack backtrace: [ 7322.502971] CPU: 1 PID: 23663 Comm: DOM Worker Not tainted 4.6.6- 300.fc24.x86_64+debug #1 [ 7322.502973] Hardware name: Gigabyte Technology Co., Ltd. Z87M- D3H/Z87M-D3H, BIOS F11 08/12/2014 [ 7322.502974]  0000000000000086 00000000f800081a ffff880095f0ba90 ffffffff81458cb5 [ 7322.502978]  ffffffff82b0e9a0 ffffffff82b1a590 ffff880095f0bad0 ffffffff8110ff4e [ 7322.502981]  0000000000000002 ffff8807dd994000 0000000000000002 ffff8807dd994958 [ 7322.502984] Call Trace: [ 7322.502988]  [] dump_stack+0x86/0xc1 [ 7322.502992]  [] print_circular_bug+0x1be/0x210 [ 7322.502994]  [] __lock_acquire+0x1775/0x18e0 [ 7322.502997]  [] lock_acquire+0xfe/0x1f0 [ 7322.503021]  [] ? xfs_file_buffered_aio_write+0x6d/0x350 [xfs] [ 7322.503025]  [] mutex_lock_nested+0x86/0x400 [ 7322.503049]  [] ? xfs_file_buffered_aio_write+0x6d/0x350 [xfs] [ 7322.503071]  [] ? xfs_file_buffered_aio_write+0x6d/0x350 [xfs] [ 7322.503092]  [] xfs_file_buffered_aio_write+0x6d/0x350 [xfs] [ 7322.503095]  [] ? mark_held_locks+0x76/0xa0 [ 7322.503099]  [] ? mutex_lock_nested+0x288/0x400 [ 7322.503102]  [] ? trace_hardirqs_on_caller+0xf5/0x1b0 [ 7322.503122]  [] xfs_file_write_iter+0x141/0x160 [xfs] [ 7322.503125]  [] vfs_iter_write+0x7b/0xd0 [ 7322.503128]  [] iter_file_splice_write+0x270/0x3c0 [ 7322.503131]  [] SyS_splice+0x369/0x830 [ 7322.503134]  [] ? trace_hardirqs_on_caller+0xf5/0x1b0 [ 7322.503136]  [] entry_SYSCALL_64_fastpath+0x1f/0xbd And system freeze for while time. It possible find who is culprit from my log? Best regards, Mikhail Gavrilov