{"action":"created","issue":{"url":"https://api.github.com/repos/zfsonlinux/zfs/issues/3041","labels_url":"https://api.github.com/repos/zfsonlinux/zfs/issues/3041/labels{/name}","comments_url":"https://api.github.com/repos/zfsonlinux/zfs/issues/3041/comments","events_url":"https://api.github.com/repos/zfsonlinux/zfs/issues/3041/events","html_url":"https://github.com/zfsonlinux/zfs/issues/3041","id":55456753,"number":3041,"title":"Possible memory allocation deadlock","user":{"login":"edillmann","id":2512794,"avatar_url":"https://avatars.githubusercontent.com/u/2512794?v=3","gravatar_id":"","url":"https://api.github.com/users/edillmann","html_url":"https://github.com/edillmann","followers_url":"https://api.github.com/users/edillmann/followers","following_url":"https://api.github.com/users/edillmann/following{/other_user}","gists_url":"https://api.github.com/users/edillmann/gists{/gist_id}","starred_url":"https://api.github.com/users/edillmann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edillmann/subscriptions","organizations_url":"https://api.github.com/users/edillmann/orgs","repos_url":"https://api.github.com/users/edillmann/repos","events_url":"https://api.github.com/users/edillmann/events{/privacy}","received_events_url":"https://api.github.com/users/edillmann/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/zfsonlinux/zfs/labels/Bug%20-%20Minor","name":"Bug - Minor","color":"e11d21"},{"url":"https://api.github.com/repos/zfsonlinux/zfs/labels/Difficulty%20-%20Easy","name":"Difficulty - Easy","color":"207de5"},{"url":"https://api.github.com/repos/zfsonlinux/zfs/labels/Memory%20Management","name":"Memory Management","color":"ffff33"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/zfsonlinux/zfs/milestones/24","labels_url":"https://api.github.com/repos/zfsonlinux/zfs/milestones/24/labels","id":175735,"number":24,"title":"0.6.4","description":"ZFS on Linux v0.6.4 - Functionality / Integration","creator":{"login":"behlendorf","id":148917,"avatar_url":"https://avatars.githubusercontent.com/u/148917?v=3","gravatar_id":"","url":"https://api.github.com/users/behlendorf","html_url":"https://github.com/behlendorf","followers_url":"https://api.github.com/users/behlendorf/followers","following_url":"https://api.github.com/users/behlendorf/following{/other_user}","gists_url":"https://api.github.com/users/behlendorf/gists{/gist_id}","starred_url":"https://api.github.com/users/behlendorf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/behlendorf/subscriptions","organizations_url":"https://api.github.com/users/behlendorf/orgs","repos_url":"https://api.github.com/users/behlendorf/repos","events_url":"https://api.github.com/users/behlendorf/events{/privacy}","received_events_url":"https://api.github.com/users/behlendorf/received_events","type":"User","site_admin":false},"open_issues":95,"closed_issues":339,"state":"open","created_at":"2012-09-16T18:38:17Z","updated_at":"2015-01-29T23:46:42Z","due_on":null,"closed_at":null},"comments":3,"created_at":"2015-01-26T08:25:42Z","updated_at":"2015-01-30T00:07:52Z","closed_at":null,"body":"Hi,\r\n\r\nIs this a new bug ?\r\nI found a lot of oops like this on the receiving side of a snapshot transfert.\r\nI'm using latest master on kernel 3.18.3\r\n\r\n[41374.265342] Possible memory allocation deadlock: size=1048576 lflags=0x42d0\r\n[41374.265345] CPU: 2 PID: 71096 Comm: zfs Tainted: P           OE  3.18.3-jave #1\r\n[41374.265347] Hardware name:                  /DH67BL, BIOS BLH6710H.86A.0160.2012.1204.1156 12/04/2012\r\n[41374.265349]  0000000000002000 ffff8801e431ba48 ffffffff8171de28 0000000000000a3c\r\n[41374.265352]  00000000000042d0 ffff8801e431ba88 ffffffffa0427f74 ffff8801e431ba58\r\n[41374.265355]  ffff8801e431bcb0 ffff8800b7127550 0000000000000000 ffff8801e431bca0\r\n[41374.265358] Call Trace:\r\n[41374.265363]  [<ffffffff8171de28>] dump_stack+0x46/0x58\r\n[41374.265371]  [<ffffffffa0427f74>] spl_kmem_alloc_debug+0x184/0x190 [spl]\r\n[41374.265378]  [<ffffffffa042a129>] spl_vmem_alloc+0x19/0x20 [spl]\r\n[41374.265403]  [<ffffffffa0741a83>] dmu_recv_stream+0xa3/0xb30 [zfs]\r\n[41374.265411]  [<ffffffffa049b782>] ? nvlist_common.part.102+0xe2/0x1e0 [znvpair]\r\n[41374.265419]  [<ffffffffa049ba3e>] ? nvlist_xpack+0xde/0x110 [znvpair]\r\n[41374.265425]  [<ffffffffa049b782>] ? nvlist_common.part.102+0xe2/0x1e0 [znvpair]\r\n[41374.265431]  [<ffffffffa0427952>] ? spl_kmem_free+0x32/0x50 [spl]\r\n[41374.265438]  [<ffffffffa049c17e>] ? fnvlist_pack_free+0xe/0x10 [znvpair]\r\n[41374.265476]  [<ffffffffa07a5f91>] ? put_nvlist+0x91/0xa0 [zfs]\r\n[41374.265513]  [<ffffffffa07ab50c>] zfs_ioc_recv+0x1ec/0xbd0 [zfs]\r\n[41374.265532]  [<ffffffffa072e5a0>] ? dbuf_rele_and_unlock+0x2a0/0x390 [zfs]\r\n[41374.265538]  [<ffffffffa0427952>] ? spl_kmem_free+0x32/0x50 [spl]\r\n[41374.265547]  [<ffffffffa042f937>] ? tsd_set+0x67/0x2e0 [spl]\r\n[41374.265554]  [<ffffffffa042f847>] ? tsd_hash_search.isra.1+0x77/0xa0 [spl]\r\n[41374.265585]  [<ffffffffa076a711>] ? rrw_exit+0x51/0x160 [zfs]\r\n[41374.265589]  [<ffffffff811aff75>] ? __kmalloc+0x55/0x230\r\n[41374.265595]  [<ffffffffa04278fc>] ? strdup+0x3c/0x60 [spl]\r\n[41374.265631]  [<ffffffffa07aa376>] zfsdev_ioctl+0x446/0x470 [zfs]\r\n[41374.265635]  [<ffffffff811e0340>] do_vfs_ioctl+0x2e0/0x4c0\r\n[41374.265638]  [<ffffffff8108e334>] ? vtime_account_user+0x54/0x60\r\n[41374.265641]  [<ffffffff811e05a1>] SyS_ioctl+0x81/0xa0\r\n[41374.265644]  [<ffffffff817264f4>] ? int_check_syscall_exit_work+0x34/0x3d\r\n[41374.265666]  [<ffffffff8172626d>] system_call_fastpath+0x16/0x1b\r\n"},"comment":{"url":"https://api.github.com/repos/zfsonlinux/zfs/issues/comments/72130433","html_url":"https://github.com/zfsonlinux/zfs/issues/3041#issuecomment-72130433","issue_url":"https://api.github.com/repos/zfsonlinux/zfs/issues/3041","id":72130433,"user":{"login":"behlendorf","id":148917,"avatar_url":"https://avatars.githubusercontent.com/u/148917?v=3","gravatar_id":"","url":"https://api.github.com/users/behlendorf","html_url":"https://github.com/behlendorf","followers_url":"https://api.github.com/users/behlendorf/followers","following_url":"https://api.github.com/users/behlendorf/following{/other_user}","gists_url":"https://api.github.com/users/behlendorf/gists{/gist_id}","starred_url":"https://api.github.com/users/behlendorf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/behlendorf/subscriptions","organizations_url":"https://api.github.com/users/behlendorf/orgs","repos_url":"https://api.github.com/users/behlendorf/repos","events_url":"https://api.github.com/users/behlendorf/events{/privacy}","received_events_url":"https://api.github.com/users/behlendorf/received_events","type":"User","site_admin":false},"created_at":"2015-01-30T00:07:52Z","updated_at":"2015-01-30T00:07:52Z","body":"@edillmann are you using the large block patches as well?"}}