Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug in deleting files #243

Closed
mgiammarco opened this issue May 14, 2011 · 2 comments
Closed

Bug in deleting files #243

mgiammarco opened this issue May 14, 2011 · 2 comments
Milestone

Comments

@mgiammarco
Copy link

During backup I delete some thousands of files of old backups. My setup is described in issue 216.
Unfortunately there is a bug because server became unresponsive and on log I see a lot of messages like:

shrink_slab: arc_shrinker_func+0x0/0xc0 [zfs] negative objects to delete nr=-(LONG NUMBER EACH TIME DIFFERENT)

Thanks in advance for any help.

Mario

@mgiammarco
Copy link
Author

I recovered a longer error trace:

May 14 14:35:12 backup1 kernel: [ 3534.365747] shrink_slab: arc_shrinker_func+0x0/0xc0 [zfs] negative objects to delete nr=-9164955913602068391
May 14 14:35:12 backup1 kernel: [ 3534.891602] shrink_slab: arc_shrinker_func+0x0/0xc0 [zfs] negative objects to delete nr=-6406714132065594384
May 14 14:35:12 backup1 kernel: [ 3538.796023] shrink_slab: arc_shrinker_func+0x0/0xc0 [zfs] negative objects to delete nr=-2728880605981834400
May 14 14:35:12 backup1 kernel: [ 3548.839662] shrink_slab: arc_shrinker_func+0x0/0xc0 [zfs] negative objects to delete nr=-9197707659390488143
May 14 14:35:12 backup1 kernel: [ 3557.143003] shrink_slab: arc_shrinker_func+0x0/0xc0 [zfs] negative objects to delete nr=-9113830932450126564
May 14 14:35:12 backup1 kernel: [ 3558.545322] shrink_slab: arc_shrinker_func+0x0/0xc0 [zfs] negative objects to delete nr=-7063896903947519984
May 14 14:35:15 backup1 CRON[9765]: (root) CMD (command -v debian-sa1 > /dev/null && debian-sa1 1 1)
May 14 14:35:16 backup1 kernel: [ 3564.944905] shrink_slab: arc_shrinker_func+0x0/0xc0 [zfs] negative objects to delete nr=-4993495470766022577
May 14 14:35:16 backup1 kernel: [ 3564.946007] shrink_slab: arc_shrinker_func+0x0/0xc0 [zfs] negative objects to delete nr=-4986811867840765499
May 14 14:35:57 backup1 kernel: [ 3573.436817] shrink_slab: arc_shrinker_func+0x0/0xc0 [zfs] negative objects to delete nr=-6881741732940850074
May 14 14:35:57 backup1 kernel: [ 3574.667673] arc_reclaim: page allocation failure. order:0, mode:0x4020
May 14 14:35:57 backup1 kernel: [ 3574.667684] Pid: 1528, comm: arc_reclaim Tainted: P 2.6.38-8-server #42-Ubuntu
May 14 14:35:57 backup1 kernel: [ 3574.667686] Call Trace:
May 14 14:35:57 backup1 kernel: [ 3574.667688] [] ? __alloc_pages_nodemask+0x5f4/0x830
May 14 14:35:57 backup1 kernel: [ 3574.667701] [] ? tcp_send_delayed_ack+0xf3/0x100
May 14 14:35:57 backup1 kernel: [ 3574.667703] [] ? __tcp_ack_snd_check+0x70/0xa0
May 14 14:35:57 backup1 kernel: [ 3574.667707] [] ? alloc_pages_current+0xa5/0x110
May 14 14:35:57 backup1 kernel: [ 3574.667710] [] ? new_slab+0x282/0x290
May 14 14:35:57 backup1 kernel: [ 3574.667713] [] ? __slab_alloc+0x262/0x390
May 14 14:35:57 backup1 kernel: [ 3574.667716] [] ? __netdev_alloc_skb+0x24/0x50
May 14 14:35:57 backup1 kernel: [ 3574.667719] [] ? __kmalloc_node_track_caller+0x8d/0x1a0
May 14 14:35:57 backup1 kernel: [ 3574.667721] [] ? __netdev_alloc_skb+0x24/0x50
May 14 14:35:57 backup1 kernel: [ 3574.667723] [] ? __alloc_skb+0x83/0x170
May 14 14:35:57 backup1 kernel: [ 3574.667726] [] ? __netdev_alloc_skb+0x24/0x50
May 14 14:35:57 backup1 kernel: [ 3574.667737] [] ? e1000_alloc_rx_buffers+0x2f1/0x510 [e1000]
May 14 14:35:57 backup1 kernel: [ 3574.667741] [] ? swiotlb_map_page+0x0/0x110
May 14 14:35:57 backup1 kernel: [ 3574.667744] [] ? e1000_clean_rx_irq+0x32e/0x4b0 [e1000]
May 14 14:35:57 backup1 kernel: [ 3574.667749] [] ? delayed_work_timer_fn+0x0/0x40
May 14 14:35:57 backup1 kernel: [ 3574.667752] [] ? e1000_clean+0x51/0xc0 [e1000]
May 14 14:35:57 backup1 kernel: [ 3574.667756] [] ? net_rx_action+0x128/0x270
May 14 14:35:57 backup1 kernel: [ 3574.667759] [] ? __do_softirq+0xa8/0x1c0
May 14 14:35:57 backup1 kernel: [ 3574.667763] [] ? ack_apic_level+0x78/0x1a0
May 14 14:35:57 backup1 kernel: [ 3574.667766] [] ? call_softirq+0x1c/0x30
May 14 14:35:57 backup1 kernel: [ 3574.667768] [] ? do_softirq+0x65/0xa0
May 14 14:35:57 backup1 kernel: [ 3574.667770] [] ? irq_exit+0x85/0x90
May 14 14:35:57 backup1 kernel: [ 3574.667774] [] ? do_IRQ+0x66/0xe0
May 14 14:35:57 backup1 kernel: [ 3574.667777] [] ? ret_from_intr+0x0/0x15
May 14 14:35:57 backup1 kernel: [ 3574.667778] [] ? hdr_recl+0x0/0x30 [zfs]
May 14 14:35:57 backup1 kernel: [ 3574.667811] [] ? spl_kmem_cache_reap_now+0x3d/0x80 [spl]
May 14 14:35:57 backup1 kernel: [ 3574.667827] [] ? arc_kmem_reap_now+0xe5/0x100 [zfs]
May 14 14:35:57 backup1 kernel: [ 3574.667840] [] ? arc_reclaim_thread+0x76/0x150 [zfs]
May 14 14:35:57 backup1 kernel: [ 3574.667851] [] ? arc_reclaim_thread+0x0/0x150 [zfs]
May 14 14:35:57 backup1 kernel: [ 3574.667857] [] ? thread_generic_wrapper+0x78/0x90 [spl]
May 14 14:35:57 backup1 kernel: [ 3574.667861] [] ? thread_generic_wrapper+0x0/0x90 [spl]
May 14 14:35:57 backup1 kernel: [ 3574.667865] [] ? kthread+0x96/0xa0
May 14 14:35:57 backup1 kernel: [ 3574.667867] [] ? kernel_thread_helper+0x4/0x10
May 14 14:35:57 backup1 kernel: [ 3574.667870] [] ? kthread+0x0/0xa0
May 14 14:35:57 backup1 kernel: [ 3574.667872] [] ? kernel_thread_helper+0x0/0x10
May 14 14:35:57 backup1 kernel: [ 3574.667874] Mem-Info:
May 14 14:35:57 backup1 kernel: [ 3574.667875] Node 0 DMA per-cpu:
May 14 14:35:57 backup1 kernel: [ 3574.667878] CPU 0: hi: 0, btch: 1 usd: 0
May 14 14:35:57 backup1 kernel: [ 3574.667879] CPU 1: hi: 0, btch: 1 usd: 0
May 14 14:35:57 backup1 kernel: [ 3574.667881] Node 0 DMA32 per-cpu:
May 14 14:35:57 backup1 kernel: [ 3574.667883] CPU 0: hi: 186, btch: 31 usd: 0
May 14 14:35:57 backup1 kernel: [ 3574.667884] CPU 1: hi: 186, btch: 31 usd: 25
May 14 14:35:57 backup1 kernel: [ 3574.667886] Node 0 Normal per-cpu:
May 14 14:35:57 backup1 kernel: [ 3574.667887] CPU 0: hi: 186, btch: 31 usd: 0
May 14 14:35:57 backup1 kernel: [ 3574.667889] CPU 1: hi: 186, btch: 31 usd: 0
May 14 14:35:57 backup1 kernel: [ 3574.667893] active_anon:108 inactive_anon:54 isolated_anon:0
May 14 14:35:57 backup1 kernel: [ 3574.667894] active_file:42 inactive_file:141 isolated_file:0
May 14 14:35:57 backup1 kernel: [ 3574.667894] unevictable:0 dirty:0 writeback:0 unstable:0
May 14 14:35:57 backup1 kernel: [ 3574.667895] free:5652 slab_reclaimable:1542 slab_unreclaimable:28054
May 14 14:35:57 backup1 kernel: [ 3574.667896] mapped:77 shmem:0 pagetables:1000 bounce:0
May 14 14:35:57 backup1 kernel: [ 3574.667898] Node 0 DMA free:15868kB min:28kB low:32kB high:40kB active_anon:0kB inactive_anon:0kB active_file:0kB inactive_file:0kB unevictable:0kB isolated(anon):0kB isolated(file):0kB present:15684kB mlocked:0kB dirty:0kB writeback:0kB mapped:0kB shmem:0kB slab_reclaimable:0kB slab_unreclaimable:8kB kernel_stack:0kB pagetables:0kB unstable:0kB bounce:0kB writeback_tmp:0kB pages_scanned:0 all_unreclaimable? yes
May 14 14:35:57 backup1 kernel: [ 3574.667905] lowmem_reserve[]: 0 3000 4010 4010
May 14 14:35:57 backup1 kernel: [ 3574.668243] Node 0 DMA32 free:6316kB min:6048kB low:7560kB high:9072kB active_anon:392kB inactive_anon:216kB active_file:64kB inactive_file:404kB unevictable:0kB isolated(anon):0kB isolated(file):0kB present:3072160kB mlocked:0kB dirty:0kB writeback:0kB mapped:56kB shmem:0kB slab_reclaimable:120kB slab_unreclaimable:68520kB kernel_stack:48kB pagetables:320kB unstable:0kB bounce:0kB writeback_tmp:0kB pages_scanned:71 all_unreclaimable? no
May 14 14:35:57 backup1 kernel: [ 3574.668251] lowmem_reserve[]: 0 0 1010 1010
May 14 14:35:57 backup1 kernel: [ 3574.668254] Node 0 Normal free:424kB min:2036kB low:2544kB high:3052kB active_anon:40kB inactive_anon:0kB active_file:104kB inactive_file:160kB unevictable:0kB isolated(anon):0kB isolated(file):0kB present:1034240kB mlocked:0kB dirty:0kB writeback:0kB mapped:252kB shmem:0kB slab_reclaimable:6048kB slab_unreclaimable:43688kB kernel_stack:4832kB pagetables:3680kB unstable:0kB bounce:0kB writeback_tmp:0kB pages_scanned:10 all_unreclaimable? no
May 14 14:35:57 backup1 kernel: [ 3574.668262] lowmem_reserve[]: 0 0 0 0
May 14 14:35:57 backup1 kernel: [ 3574.668265] Node 0 DMA: 1_4kB 1_8kB 1_16kB 1_32kB 1_64kB 1_128kB 1_256kB 0_512kB 1_1024kB 1_2048kB 3_4096kB = 15868kB
May 14 14:35:57 backup1 kernel: [ 3574.668278] Node 0 DMA32: 1039_4kB 26_8kB 6_16kB 0_32kB 3_64kB 3_128kB 3_256kB 1_512kB 0_1024kB 0_2048kB 0_4096kB = 6316kB
May 14 14:35:57 backup1 kernel: [ 3574.668285] Node 0 Normal: 106_4kB 0_8kB 0_16kB 0_32kB 0_64kB 0_128kB 0_256kB 0_512kB 0_1024kB 0_2048kB 0_4096kB = 424kB
May 14 14:35:57 backup1 kernel: [ 3574.668292] 228 total pagecache pages
May 14 14:35:57 backup1 kernel: [ 3574.668294] 33 pages in swap cache
May 14 14:35:57 backup1 kernel: [ 3574.668296] Swap cache stats: add 80884, delete 80851, find 27816/36805
May 14 14:35:57 backup1 kernel: [ 3574.668297] Free swap = 386532kB
May 14 14:35:57 backup1 kernel: [ 3574.668298] Total swap = 487420kB
May 14 14:35:57 backup1 kernel: [ 3574.688755] 1048560 pages RAM
May 14 14:35:57 backup1 kernel: [ 3574.688758] 33891 pages reserved
May 14 14:35:57 backup1 kernel: [ 3574.688759] 295 pages shared
May 14 14:35:57 backup1 kernel: [ 3574.688761] 995516 pages non-shared
May 14 14:35:57 backup1 kernel: [ 3574.688765] SLUB: Unable to allocate memory on node -1 (gfp=0x20)
May 14 14:35:57 backup1 kernel: [ 3574.688767] cache: kmalloc-2048, object size: 2048, buffer size: 2048, default order: 3, min order: 0
May 14 14:35:57 backup1 kernel: [ 3574.688770] node 0: slabs: 81, objs: 1212, free: 0
May 14 14:35:57 backup1 kernel: [ 3574.707520] BackupPC_trashC: page allocation failure. order:0, mode:0x4020
May 14 14:35:57 backup1 kernel: [ 3574.707525] Pid: 3640, comm: BackupPC_trashC Tainted: P 2.6.38-8-server #42-Ubuntu
May 14 14:35:57 backup1 kernel: [ 3574.707528] Call Trace:
May 14 14:35:57 backup1 kernel: [ 3574.707530] [] ? __alloc_pages_nodemask+0x5f4/0x830
May 14 14:35:57 backup1 kernel: [ 3574.707550] [] ? alloc_pages_current+0xa5/0x110
May 14 14:35:57 backup1 kernel: [ 3574.707554] [] ? new_slab+0x282/0x290
May 14 14:35:57 backup1 kernel: [ 3574.707557] [] ? __slab_alloc+0x262/0x390
May 14 14:35:57 backup1 kernel: [ 3574.707561] [] ? __netdev_alloc_skb+0x24/0x50
May 14 14:35:57 backup1 kernel: [ 3574.707563] [] ? __kmalloc_node_track_caller+0x8d/0x1a0
May 14 14:35:57 backup1 kernel: [ 3574.707566] [] ? __netdev_alloc_skb+0x24/0x50
May 14 14:35:57 backup1 kernel: [ 3574.707568] [] ? __alloc_skb+0x83/0x170
May 14 14:35:57 backup1 kernel: [ 3574.707570] [] ? __netdev_alloc_skb+0x24/0x50
May 14 14:35:57 backup1 kernel: [ 3574.707577] [] ? e1000_alloc_rx_buffers+0x2f1/0x510 [e1000]
May 14 14:35:57 backup1 kernel: [ 3574.707580] [] ? e1000_clean_rx_irq+0x32e/0x4b0 [e1000]
May 14 14:35:57 backup1 kernel: [ 3574.707585] [] ? delayed_work_timer_fn+0x0/0x40
May 14 14:35:57 backup1 kernel: [ 3574.707605] [] ? e1000_clean+0x51/0xc0 [e1000]
May 14 14:35:57 backup1 kernel: [ 3574.707610] [] ? net_rx_action+0x128/0x270
May 14 14:35:57 backup1 kernel: [ 3574.707613] [] ? __do_softirq+0xa8/0x1c0
May 14 14:35:57 backup1 kernel: [ 3574.707617] [] ? ack_apic_level+0x78/0x1a0
May 14 14:35:57 backup1 kernel: [ 3574.707620] [] ? call_softirq+0x1c/0x30
May 14 14:35:57 backup1 kernel: [ 3574.707623] [] ? do_softirq+0x65/0xa0
May 14 14:35:57 backup1 kernel: [ 3574.707625] [] ? irq_exit+0x85/0x90
May 14 14:35:57 backup1 kernel: [ 3574.707628] [] ? do_IRQ+0x66/0xe0
May 14 14:35:57 backup1 kernel: [ 3574.707631] [] ? ret_from_intr+0x0/0x15
May 14 14:35:57 backup1 kernel: [ 3574.707633] [] ? _raw_spin_lock+0xe/0x20
May 14 14:35:57 backup1 kernel: [ 3574.707644] [] ? spl_kmem_cache_reap_now+0x29/0x80 [spl]
May 14 14:35:57 backup1 kernel: [ 3574.707648] [] ? spl_kmem_cache_reap_now+0x5b/0x80 [spl]
May 14 14:35:57 backup1 kernel: [ 3574.707675] [] ? arc_kmem_reap_now+0xc0/0x100 [zfs]
May 14 14:35:57 backup1 kernel: [ 3574.707686] [] ? arc_shrinker_func+0x82/0xc0 [zfs]
May 14 14:35:57 backup1 kernel: [ 3574.707690] [] ? shrink_slab+0x11c/0x180
May 14 14:35:57 backup1 kernel: [ 3574.707693] [] ? do_try_to_free_pages+0x217/0x2d0
May 14 14:35:57 backup1 kernel: [ 3574.707695] [] ? try_to_free_pages+0x87/0x110
May 14 14:35:57 backup1 kernel: [ 3574.707698] [] ? __alloc_pages_nodemask+0x484/0x830
May 14 14:35:57 backup1 kernel: [ 3574.707701] [] ? __lock_page_or_retry+0x3d/0x70
May 14 14:35:57 backup1 kernel: [ 3574.707705] [] ? alloc_pages_current+0xa5/0x110
May 14 14:35:57 backup1 kernel: [ 3574.707707] [] ? pte_alloc_one+0x1b/0x50
May 14 14:35:57 backup1 kernel: [ 3574.707710] [] ? __pte_alloc+0x35/0x100
May 14 14:35:57 backup1 kernel: [ 3574.707713] [] ? handle_mm_fault+0x129/0x250
May 14 14:35:57 backup1 kernel: [ 3574.707716] [] ? do_page_fault+0x1a2/0x540
May 14 14:35:57 backup1 kernel: [ 3574.707720] [] ? __switch_to+0x157/0x2f0
May 14 14:35:57 backup1 kernel: [ 3574.707723] [] ? finish_task_switch+0x41/0xe0
May 14 14:35:57 backup1 kernel: [ 3574.707726] [] ? schedule+0x3ec/0x760
May 14 14:35:57 backup1 kernel: [ 3574.707728] [] ? page_fault+0x25/0x30
May 14 14:35:57 backup1 kernel: [ 3574.707730] Mem-Info:
May 14 14:35:57 backup1 kernel: [ 3574.707731] Node 0 DMA per-cpu:
May 14 14:35:57 backup1 kernel: [ 3574.707734] CPU 0: hi: 0, btch: 1 usd: 0
May 14 14:35:57 backup1 kernel: [ 3574.707736] CPU 1: hi: 0, btch: 1 usd: 0
May 14 14:35:57 backup1 kernel: [ 3574.707737] Node 0 DMA32 per-cpu:
May 14 14:35:57 backup1 kernel: [ 3574.707739] CPU 0: hi: 186, btch: 31 usd: 0
May 14 14:35:57 backup1 kernel: [ 3574.707740] CPU 1: hi: 186, btch: 31 usd: 25
May 14 14:35:57 backup1 kernel: [ 3574.707742] Node 0 Normal per-cpu:
May 14 14:35:57 backup1 kernel: [ 3574.707743] CPU 0: hi: 186, btch: 31 usd: 0
May 14 14:35:57 backup1 kernel: [ 3574.707745] CPU 1: hi: 186, btch: 31 usd: 0
May 14 14:35:57 backup1 kernel: [ 3574.707749] active_anon:108 inactive_anon:54 isolated_anon:0
May 14 14:35:57 backup1 kernel: [ 3574.707750] active_file:42 inactive_file:141 isolated_file:0
May 14 14:35:57 backup1 kernel: [ 3574.707751] unevictable:0 dirty:0 writeback:0 unstable:0
May 14 14:35:57 backup1 kernel: [ 3574.707751] free:5652 slab_reclaimable:1542 slab_unreclaimable:28054
May 14 14:35:57 backup1 kernel: [ 3574.707752] mapped:77 shmem:0 pagetables:1000 bounce:0
May 14 14:35:57 backup1 kernel: [ 3574.707754] Node 0 DMA free:15868kB min:28kB low:32kB high:40kB active_anon:0kB inactive_anon:0kB active_file:0kB inactive_file:0kB unevictable:0kB isolated(anon):0kB isolated(file):0kB present:15684kB mlocked:0kB dirty:0kB writeback:0kB mapped:0kB shmem:0kB slab_reclaimable:0kB slab_unreclaimable:8kB kernel_stack:0kB pagetables:0kB unstable:0kB bounce:0kB writeback_tmp:0kB pages_scanned:0 all_unreclaimable? yes
May 14 14:35:57 backup1 kernel: [ 3574.707762] lowmem_reserve[]: 0 3000 4010 4010
May 14 14:35:57 backup1 kernel: [ 3574.707765] Node 0 DMA32 free:6316kB min:6048kB low:7560kB high:9072kB active_anon:392kB inactive_anon:216kB active_file:64kB inactive_file:404kB unevictable:0kB isolated(anon):0kB isolated(file):0kB present:3072160kB mlocked:0kB dirty:0kB writeback:0kB mapped:56kB shmem:0kB slab_reclaimable:120kB slab_unreclaimable:68520kB kernel_stack:48kB pagetables:320kB unstable:0kB bounce:0kB writeback_tmp:0kB pages_scanned:71 all_unreclaimable? no
May 14 14:35:57 backup1 kernel: [ 3574.707773] lowmem_reserve[]: 0 0 1010 1010
May 14 14:35:57 backup1 kernel: [ 3574.707776] Node 0 Normal free:424kB min:2036kB low:2544kB high:3052kB active_anon:40kB inactive_anon:0kB active_file:104kB inactive_file:160kB unevictable:0kB isolated(anon):0kB isolated(file):0kB present:1034240kB mlocked:0kB dirty:0kB writeback:0kB mapped:252kB shmem:0kB slab_reclaimable:6048kB slab_unreclaimable:43688kB kernel_stack:4832kB pagetables:3680kB unstable:0kB bounce:0kB writeback_tmp:0kB pages_scanned:10 all_unreclaimable? no
May 14 14:35:57 backup1 kernel: [ 3574.707783] lowmem_reserve[]: 0 0 0 0
May 14 14:35:57 backup1 kernel: [ 3574.707786] Node 0 DMA: 1_4kB 1_8kB 1_16kB 1_32kB 1_64kB 1_128kB 1_256kB 0_512kB 1_1024kB 1_2048kB 3_4096kB = 15868kB
May 14 14:35:57 backup1 kernel: [ 3574.707794] Node 0 DMA32: 1039_4kB 26_8kB 6_16kB 0_32kB 3_64kB 3_128kB 3_256kB 1_512kB 0_1024kB 0_2048kB 0_4096kB = 6316kB
May 14 14:35:57 backup1 kernel: [ 3574.707801] Node 0 Normal: 106_4kB 0_8kB 0_16kB 0_32kB 0_64kB 0_128kB 0_256kB 0_512kB 0_1024kB 0_2048kB 0_4096kB = 424kB
May 14 14:35:57 backup1 kernel: [ 3574.707808] 228 total pagecache pages
May 14 14:35:57 backup1 kernel: [ 3574.707810] 33 pages in swap cache
May 14 14:35:57 backup1 kernel: [ 3574.707812] Swap cache stats: add 80884, delete 80851, find 27816/36805
May 14 14:35:57 backup1 kernel: [ 3574.707813] Free swap = 386532kB
May 14 14:35:57 backup1 kernel: [ 3574.707814] Total swap = 487420kB
May 14 14:35:57 backup1 kernel: [ 3574.722989] 1048560 pages RAM
May 14 14:35:57 backup1 kernel: [ 3574.722991] 33891 pages reserved
May 14 14:35:57 backup1 kernel: [ 3574.722993] 295 pages shared
May 14 14:35:57 backup1 kernel: [ 3574.722994] 995516 pages non-shared
May 14 14:35:57 backup1 kernel: [ 3574.722998] SLUB: Unable to allocate memory on node -1 (gfp=0x20)
May 14 14:35:57 backup1 kernel: [ 3574.723001] cache: kmalloc-2048, object size: 2048, buffer size: 2048, default order: 3, min order: 0
May 14 14:35:57 backup1 kernel: [ 3574.723003] node 0: slabs: 81, objs: 1212, free: 0
May 14 14:35:57 backup1 kernel: [ 3574.723109] BackupPC_trashC: page allocation failure. order:0, mode:0x4020
May 14 14:35:57 backup1 kernel: [ 3574.723112] Pid: 3640, comm: BackupPC_trashC Tainted: P 2.6.38-8-server #42-Ubuntu
May 14 14:35:57 backup1 kernel: [ 3574.723114] Call Trace:
May 14 14:35:57 backup1 kernel: [ 3574.723116] [] ? __alloc_pages_nodemask+0x5f4/0x830
May 14 14:35:57 backup1 kernel: [ 3574.723127] [] ? timerqueue_add+0x74/0xc0
May 14 14:35:57 backup1 kernel: [ 3574.723131] [] ? tcp_send_delayed_ack+0xf3/0x100
May 14 14:35:57 backup1 kernel: [ 3574.723134] [] ? __tcp_ack_snd_check+0x70/0xa0
May 14 14:35:57 backup1 kernel: [ 3574.723138] [] ? alloc_pages_current+0xa5/0x110
May 14 14:35:57 backup1 kernel: [ 3574.723141] [] ? new_slab+0x282/0x290
May 14 14:35:57 backup1 kernel: [ 3574.723143] [] ? __slab_alloc+0x262/0x390
May 14 14:35:57 backup1 kernel: [ 3574.723147] [] ? __netdev_alloc_skb+0x24/0x50
May 14 14:35:57 backup1 kernel: [ 3574.723149] [] ? __kmalloc_node_track_caller+0x8d/0x1a0
May 14 14:35:57 backup1 kernel: [ 3574.723152] [] ? __netdev_alloc_skb+0x24/0x50
May 14 14:35:57 backup1 kernel: [ 3574.723154] [] ? __alloc_skb+0x83/0x170
May 14 14:35:57 backup1 kernel: [ 3574.723156] [] ? __netdev_alloc_skb+0x24/0x50
May 14 14:35:57 backup1 kernel: [ 3574.723160] [] ? irq_to_desc+0x17/0x20
May 14 14:35:57 backup1 kernel: [ 3574.723170] [] ? e1000_alloc_rx_buffers+0x2f1/0x510 [e1000]
May 14 14:35:57 backup1 kernel: [ 3574.723174] [] ? e1000_clean_rx_irq+0x32e/0x4b0 [e1000]
May 14 14:35:57 backup1 kernel: [ 3574.723177] [] ? do_IRQ+0x66/0xe0
May 14 14:35:57 backup1 kernel: [ 3574.723181] [] ? e1000_clean+0x51/0xc0 [e1000]
May 14 14:35:57 backup1 kernel: [ 3574.723184] [] ? net_rx_action+0x128/0x270
May 14 14:35:57 backup1 kernel: [ 3574.723188] [] ? __do_softirq+0xa8/0x1c0
May 14 14:35:57 backup1 kernel: [ 3574.723191] [] ? ack_apic_level+0x78/0x1a0
May 14 14:35:57 backup1 kernel: [ 3574.723194] [] ? call_softirq+0x1c/0x30
May 14 14:35:57 backup1 kernel: [ 3574.723197] [] ? do_softirq+0x65/0xa0
May 14 14:35:57 backup1 kernel: [ 3574.723199] [] ? irq_exit+0x85/0x90
May 14 14:35:57 backup1 kernel: [ 3574.723201] [] ? do_IRQ+0x66/0xe0
May 14 14:35:57 backup1 kernel: [ 3574.723204] [] ? ret_from_intr+0x0/0x15
May 14 14:35:57 backup1 kernel: [ 3574.723206] [] ? _raw_spin_lock+0xe/0x20
May 14 14:35:57 backup1 kernel: [ 3574.723215] [] ? spl_kmem_cache_reap_now+0x29/0x80 [spl]
May 14 14:35:57 backup1 kernel: [ 3574.723220] [] ? spl_kmem_cache_reap_now+0x5b/0x80 [spl]
May 14 14:35:57 backup1 kernel: [ 3574.723244] [] ? arc_kmem_reap_now+0xc0/0x100 [zfs]
May 14 14:35:57 backup1 kernel: [ 3574.723255] [] ? arc_shrinker_func+0x82/0xc0 [zfs]
May 14 14:35:57 backup1 kernel: [ 3574.723259] [] ? shrink_slab+0x11c/0x180
May 14 14:35:57 backup1 kernel: [ 3574.723261] [] ? do_try_to_free_pages+0x217/0x2d0
May 14 14:35:57 backup1 kernel: [ 3574.723264] [] ? try_to_free_pages+0x87/0x110
May 14 14:35:57 backup1 kernel: [ 3574.723266] [] ? __alloc_pages_nodemask+0x484/0x830
May 14 14:35:57 backup1 kernel: [ 3574.723270] [] ? __lock_page_or_retry+0x3d/0x70
May 14 14:35:57 backup1 kernel: [ 3574.723273] [] ? alloc_pages_current+0xa5/0x110
May 14 14:35:57 backup1 kernel: [ 3574.723276] [] ? pte_alloc_one+0x1b/0x50
May 14 14:35:57 backup1 kernel: [ 3574.723278] [] ? __pte_alloc+0x35/0x100
May 14 14:35:57 backup1 kernel: [ 3574.723281] [] ? handle_mm_fault+0x129/0x250
May 14 14:35:57 backup1 kernel: [ 3574.723284] [] ? do_page_fault+0x1a2/0x540
May 14 14:35:57 backup1 kernel: [ 3574.723288] [] ? __switch_to+0x157/0x2f0
May 14 14:35:57 backup1 kernel: [ 3574.723291] [] ? finish_task_switch+0x41/0xe0
May 14 14:35:57 backup1 kernel: [ 3574.723359] [] ? schedule+0x3ec/0x760
May 14 14:35:57 backup1 kernel: [ 3574.723361] [] ? page_fault+0x25/0x30
May 14 14:35:57 backup1 kernel: [ 3574.723363] Mem-Info:
May 14 14:35:57 backup1 kernel: [ 3574.723365] Node 0 DMA per-cpu:
May 14 14:35:57 backup1 kernel: [ 3574.723367] CPU 0: hi: 0, btch: 1 usd: 0
May 14 14:35:57 backup1 kernel: [ 3574.723369] CPU 1: hi: 0, btch: 1 usd: 0
May 14 14:35:57 backup1 kernel: [ 3574.723370] Node 0 DMA32 per-cpu:
May 14 14:35:57 backup1 kernel: [ 3574.723372] CPU 0: hi: 186, btch: 31 usd: 0
May 14 14:35:57 backup1 kernel: [ 3574.723374] CPU 1: hi: 186, btch: 31 usd: 25
May 14 14:35:57 backup1 kernel: [ 3574.723375] Node 0 Normal per-cpu:
May 14 14:35:57 backup1 kernel: [ 3574.723377] CPU 0: hi: 186, btch: 31 usd: 0
May 14 14:35:57 backup1 kernel: [ 3574.723379] CPU 1: hi: 186, btch: 31 usd: 0
May 14 14:35:57 backup1 kernel: [ 3574.723383] active_anon:108 inactive_anon:54 isolated_anon:0
May 14 14:35:57 backup1 kernel: [ 3574.723383] active_file:42 inactive_file:141 isolated_file:0
May 14 14:35:57 backup1 kernel: [ 3574.723384] unevictable:0 dirty:0 writeback:0 unstable:0
May 14 14:35:57 backup1 kernel: [ 3574.723385] free:5652 slab_reclaimable:1542 slab_unreclaimable:28054
May 14 14:35:57 backup1 kernel: [ 3574.723386] mapped:77 shmem:0 pagetables:1000 bounce:0
May 14 14:35:57 backup1 kernel: [ 3574.723388] Node 0 DMA free:15868kB min:28kB low:32kB high:40kB active_anon:0kB inactive_anon:0kB active_file:0kB inactive_file:0kB unevictable:0kB isolated(anon):0kB isolated(file):0kB present:15684kB mlocked:0kB dirty:0kB writeback:0kB mapped:0kB shmem:0kB slab_reclaimable:0kB slab_unreclaimable:8kB kernel_stack:0kB pagetables:0kB unstable:0kB bounce:0kB writeback_tmp:0kB pages_scanned:0 all_unreclaimable? yes
May 14 14:35:57 backup1 kernel: [ 3574.723395] lowmem_reserve[]: 0 3000 4010 4010
May 14 14:35:57 backup1 kernel: [ 3574.723399] Node 0 DMA32 free:6316kB min:6048kB low:7560kB high:9072kB active_anon:392kB inactive_anon:216kB active_file:64kB inactive_file:404kB unevictable:0kB isolated(anon):0kB isolated(file):0kB present:3072160kB mlocked:0kB dirty:0kB writeback:0kB mapped:56kB shmem:0kB slab_reclaimable:120kB slab_unreclaimable:68520kB kernel_stack:48kB pagetables:320kB unstable:0kB bounce:0kB writeback_tmp:0kB pages_scanned:71 all_unreclaimable? no
May 14 14:35:57 backup1 kernel: [ 3574.723440] lowmem_reserve[]: 0 0 1010 1010
May 14 14:35:57 backup1 kernel: [ 3574.723444] Node 0 Normal free:424kB min:2036kB low:2544kB high:3052kB active_anon:40kB inactive_anon:0kB active_file:104kB inactive_file:160kB unevictable:0kB isolated(anon):0kB isolated(file):0kB present:1034240kB mlocked:0kB dirty:0kB writeback:0kB mapped:252kB shmem:0kB slab_reclaimable:6048kB slab_unreclaimable:43688kB kernel_stack:4832kB pagetables:3680kB unstable:0kB bounce:0kB writeback_tmp:0kB pages_scanned:10 all_unreclaimable? no
May 14 14:35:57 backup1 kernel: [ 3574.723451] lowmem_reserve[]: 0 0 0 0
May 14 14:35:57 backup1 kernel: [ 3574.723454] Node 0 DMA: 1_4kB 1_8kB 1_16kB 1_32kB 1_64kB 1_128kB 1_256kB 0_512kB 1_1024kB 1_2048kB 3_4096kB = 15868kB
May 14 14:35:57 backup1 kernel: [ 3574.723462] Node 0 DMA32: 1039_4kB 26_8kB 6_16kB 0_32kB 3_64kB 3_128kB 3_256kB 1_512kB 0_1024kB 0_2048kB 0_4096kB = 6316kB
May 14 14:35:57 backup1 kernel: [ 3574.723470] Node 0 Normal: 106_4kB 0_8kB 0_16kB 0_32kB 0_64kB 0_128kB 0_256kB 0_512kB 0_1024kB 0_2048kB 0_4096kB = 424kB
May 14 14:35:57 backup1 kernel: [ 3574.723477] 228 total pagecache pages
May 14 14:35:57 backup1 kernel: [ 3574.723478] 33 pages in swap cache
May 14 14:35:57 backup1 kernel: [ 3574.723480] Swap cache stats: add 80884, delete 80851, find 27816/36805
May 14 14:35:57 backup1 kernel: [ 3574.723482] Free swap = 386532kB
May 14 14:35:57 backup1 kernel: [ 3574.723483] Total swap = 487420kB
May 14 14:35:57 backup1 kernel: [ 3574.739908] 1048560 pages RAM
May 14 14:35:57 backup1 kernel: [ 3574.739911] 33891 pages reserved
May 14 14:35:57 backup1 kernel: [ 3574.739912] 295 pages shared
May 14 14:35:57 backup1 kernel: [ 3574.739913] 995516 pages non-shared
May 14 14:35:57 backup1 kernel: [ 3574.739917] SLUB: Unable to allocate memory on node -1 (gfp=0x20)
May 14 14:35:57 backup1 kernel: [ 3574.739920] cache: kmalloc-2048, object size: 2048, buffer size: 2048, default order: 3, min order: 0
May 14 14:35:57 backup1 kernel: [ 3574.740070] node 0: slabs: 81, objs: 1212, free: 0
May 14 14:35:57 backup1 kernel: [ 3574.757593] arc_reclaim: page allocation failure. order:0, mode:0x4020
May 14 14:35:57 backup1 kernel: [ 3574.757598] Pid: 1528, comm: arc_reclaim Tainted: P 2.6.38-8-server #42-Ubuntu
May 14 14:35:57 backup1 kernel: [ 3574.757600] Call Trace:
May 14 14:35:57 backup1 kernel: [ 3574.757602] [] ? __alloc_pages_nodemask+0x5f4/0x830
May 14 14:35:57 backup1 kernel: [ 3574.757614] [] ? tcp_send_delayed_ack+0xf3/0x100
May 14 14:35:57 backup1 kernel: [ 3574.757616] [] ? __tcp_ack_snd_check+0x70/0xa0
May 14 14:35:57 backup1 kernel: [ 3574.757620] [] ? alloc_pages_current+0xa5/0x110
May 14 14:35:57 backup1 kernel: [ 3574.757624] [] ? new_slab+0x282/0x290
May 14 14:35:57 backup1 kernel: [ 3574.757626] [] ? __slab_alloc+0x262/0x390
May 14 14:35:57 backup1 kernel: [ 3574.757629] [] ? __netdev_alloc_skb+0x24/0x50
May 14 14:35:57 backup1 kernel: [ 3574.757632] [] ? __kmalloc_node_track_caller+0x8d/0x1a0
May 14 14:35:57 backup1 kernel: [ 3574.757634] [] ? __netdev_alloc_skb+0x24/0x50
May 14 14:35:57 backup1 kernel: [ 3574.757637] [] ? __alloc_skb+0x83/0x170
May 14 14:35:57 backup1 kernel: [ 3574.757639] [] ? __netdev_alloc_skb+0x24/0x50
May 14 14:35:57 backup1 kernel: [ 3574.757650] [] ? e1000_alloc_rx_buffers+0x2f1/0x510 [e1000]
May 14 14:35:57 backup1 kernel: [ 3574.757654] [] ? e1000_clean_rx_irq+0x32e/0x4b0 [e1000]
May 14 14:35:57 backup1 kernel: [ 3574.757658] [] ? delayed_work_timer_fn+0x0/0x40
May 14 14:35:57 backup1 kernel: [ 3574.757662] [] ? e1000_clean+0x51/0xc0 [e1000]
May 14 14:35:57 backup1 kernel: [ 3574.757665] [] ? net_rx_action+0x128/0x270
May 14 14:35:57 backup1 kernel: [ 3574.757669] [] ? __do_softirq+0xa8/0x1c0
May 14 14:35:57 backup1 kernel: [ 3574.757672] [] ? ack_apic_level+0x78/0x1a0
May 14 14:35:57 backup1 kernel: [ 3574.757676] [] ? call_softirq+0x1c/0x30
May 14 14:35:57 backup1 kernel: [ 3574.757678] [] ? do_softirq+0x65/0xa0
May 14 14:35:57 backup1 kernel: [ 3574.757680] [] ? irq_exit+0x85/0x90
May 14 14:35:57 backup1 kernel: [ 3574.757684] [] ? do_IRQ+0x66/0xe0
May 14 14:35:57 backup1 kernel: [ 3574.757687] [] ? ret_from_intr+0x0/0x15
May 14 14:35:57 backup1 kernel: [ 3574.757688] [] ? __ticket_spin_lock+0x1f/0x20
May 14 14:35:57 backup1 kernel: [ 3574.757694] [] ? _raw_spin_lock+0xe/0x20
May 14 14:35:57 backup1 kernel: [ 3574.757702] [] ? spl_slab_reclaim+0x46/0x280 [spl]
May 14 14:35:57 backup1 kernel: [ 3574.757707] [] ? spl_kmem_cache_reap_now+0x5b/0x80 [spl]
May 14 14:35:57 backup1 kernel: [ 3574.757733] [] ? arc_kmem_reap_now+0xa8/0x100 [zfs]
May 14 14:35:57 backup1 kernel: [ 3574.757745] [] ? arc_reclaim_thread+0x76/0x150 [zfs]
May 14 14:35:57 backup1 kernel: [ 3574.757757] [] ? arc_reclaim_thread+0x0/0x150 [zfs]
May 14 14:35:57 backup1 kernel: [ 3574.757762] [] ? thread_generic_wrapper+0x78/0x90 [spl]
May 14 14:35:57 backup1 kernel: [ 3574.757767] [] ? thread_generic_wrapper+0x0/0x90 [spl]
May 14 14:35:57 backup1 kernel: [ 3574.757770] [] ? kthread+0x96/0xa0
May 14 14:35:57 backup1 kernel: [ 3574.757773] [] ? kernel_thread_helper+0x4/0x10
May 14 14:35:57 backup1 kernel: [ 3574.757775] [] ? kthread+0x0/0xa0
May 14 14:35:57 backup1 kernel: [ 3574.757777] [] ? kernel_thread_helper+0x0/0x10
May 14 14:35:57 backup1 kernel: [ 3574.757779] Mem-Info:
May 14 14:35:57 backup1 kernel: [ 3574.757848] Node 0 DMA per-cpu:
May 14 14:35:57 backup1 kernel: [ 3574.757851] CPU 0: hi: 0, btch: 1 usd: 0
May 14 14:35:57 backup1 kernel: [ 3574.757853] CPU 1: hi: 0, btch: 1 usd: 0
May 14 14:35:57 backup1 kernel: [ 3574.757854] Node 0 DMA32 per-cpu:
May 14 14:35:57 backup1 kernel: [ 3574.757856] CPU 0: hi: 186, btch: 31 usd: 0
May 14 14:35:57 backup1 kernel: [ 3574.757858] CPU 1: hi: 186, btch: 31 usd: 25
May 14 14:35:57 backup1 kernel: [ 3574.757859] Node 0 Normal per-cpu:
May 14 14:35:57 backup1 kernel: [ 3574.757861] CPU 0: hi: 186, btch: 31 usd: 0
May 14 14:35:57 backup1 kernel: [ 3574.757862] CPU 1: hi: 186, btch: 31 usd: 0
May 14 14:35:57 backup1 kernel: [ 3574.757866] active_anon:108 inactive_anon:54 isolated_anon:0
May 14 14:35:57 backup1 kernel: [ 3574.757867] active_file:42 inactive_file:141 isolated_file:0
May 14 14:35:57 backup1 kernel: [ 3574.757868] unevictable:0 dirty:0 writeback:0 unstable:0
May 14 14:35:57 backup1 kernel: [ 3574.757869] free:5652 slab_reclaimable:1542 slab_unreclaimable:28054
May 14 14:35:57 backup1 kernel: [ 3574.757869] mapped:77 shmem:0 pagetables:1000 bounce:0
May 14 14:35:57 backup1 kernel: [ 3574.757871] Node 0 DMA free:15868kB min:28kB low:32kB high:40kB active_anon:0kB inactive_anon:0kB active_file:0kB inactive_file:0kB unevictable:0kB isolated(anon):0kB isolated(file):0kB present:15684kB mlocked:0kB dirty:0kB writeback:0kB mapped:0kB shmem:0kB slab_reclaimable:0kB slab_unreclaimable:8kB kernel_stack:0kB pagetables:0kB unstable:0kB bounce:0kB writeback_tmp:0kB pages_scanned:0 all_unreclaimable? yes
May 14 14:35:57 backup1 kernel: [ 3574.757879] lowmem_reserve[]: 0 3000 4010 4010
May 14 14:35:57 backup1 kernel: [ 3574.757882] Node 0 DMA32 free:6316kB min:6048kB low:7560kB high:9072kB active_anon:392kB inactive_anon:216kB active_file:64kB inactive_file:404kB unevictable:0kB isolated(anon):0kB isolated(file):0kB present:3072160kB mlocked:0kB dirty:0kB writeback:0kB mapped:56kB shmem:0kB slab_reclaimable:120kB slab_unreclaimable:68520kB kernel_stack:48kB pagetables:320kB unstable:0kB bounce:0kB writeback_tmp:0kB pages_scanned:71 all_unreclaimable? no
May 14 14:35:57 backup1 kernel: [ 3574.757890] lowmem_reserve[]: 0 0 1010 1010
May 14 14:35:57 backup1 kernel: [ 3574.757893] Node 0 Normal free:424kB min:2036kB low:2544kB high:3052kB active_anon:40kB inactive_anon:0kB active_file:104kB inactive_file:160kB unevictable:0kB isolated(anon):0kB isolated(file):0kB present:1034240kB mlocked:0kB dirty:0kB writeback:0kB mapped:252kB shmem:0kB slab_reclaimable:6048kB slab_unreclaimable:43688kB kernel_stack:4832kB pagetables:3680kB unstable:0kB bounce:0kB writeback_tmp:0kB pages_scanned:10 all_unreclaimable? no
May 14 14:35:57 backup1 kernel: [ 3574.757900] lowmem_reserve[]: 0 0 0 0
May 14 14:35:57 backup1 kernel: [ 3574.757903] Node 0 DMA: 1_4kB 1_8kB 1_16kB 1_32kB 1_64kB 1_128kB 1_256kB 0_512kB 1_1024kB 1_2048kB 3_4096kB = 15868kB
May 14 14:35:57 backup1 kernel: [ 3574.757911] Node 0 DMA32: 1039_4kB 26_8kB 6_16kB 0_32kB 3_64kB 3_128kB 3_256kB 1_512kB 0_1024kB 0_2048kB 0_4096kB = 6316kB
May 14 14:35:57 backup1 kernel: [ 3574.757919] Node 0 Normal: 106_4kB 0_8kB 0_16kB 0_32kB 0_64kB 0_128kB 0_256kB 0_512kB 0_1024kB 0_2048kB 0_4096kB = 424kB
May 14 14:35:57 backup1 kernel: [ 3574.757926] 228 total pagecache pages
May 14 14:35:57 backup1 kernel: [ 3574.757927] 33 pages in swap cache
May 14 14:35:57 backup1 kernel: [ 3574.757929] Swap cache stats: add 80884, delete 80851, find 27816/36805
May 14 14:35:57 backup1 kernel: [ 3574.757931] Free swap = 386532kB
May 14 14:35:57 backup1 kernel: [ 3574.757932] Total swap = 487420kB
May 14 14:35:57 backup1 kernel: [ 3574.773015] 1048560 pages RAM
May 14 14:35:57 backup1 kernel: [ 3574.773018] 33891 pages reserved
May 14 14:35:57 backup1 kernel: [ 3574.773020] 233 pages shared
May 14 14:35:57 backup1 kernel: [ 3574.773021] 995494 pages non-shared
May 14 14:35:57 backup1 kernel: [ 3574.773025] SLUB: Unable to allocate memory on node -1 (gfp=0x20)
May 14 14:35:57 backup1 kernel: [ 3574.773027] cache: kmalloc-2048, object size: 2048, buffer size: 2048, default order: 3, min order: 0
May 14 14:35:57 backup1 kernel: [ 3574.773030] node 0: slabs: 81, objs: 1212, free: 0
May 14 14:35:57 backup1 kernel: [ 3574.773112] arc_reclaim: page allocation failure. order:0, mode:0x4020
May 14 14:35:57 backup1 kernel: [ 3574.773116] Pid: 1528, comm: arc_reclaim Tainted: P 2.6.38-8-server #42-Ubuntu
May 14 14:35:57 backup1 kernel: [ 3574.773118] Call Trace:
May 14 14:35:57 backup1 kernel: [ 3574.773120] [] ? __alloc_pages_nodemask+0x5f4/0x830
May 14 14:35:57 backup1 kernel: [ 3574.773133] [] ? timerqueue_add+0x74/0xc0
May 14 14:35:57 backup1 kernel: [ 3574.773137] [] ? clockevents_program_event+0x67/0xa0
May 14 14:35:57 backup1 kernel: [ 3574.773140] [] ? tick_program_event+0x1f/0x30
May 14 14:35:57 backup1 kernel: [ 3574.773145] [] ? alloc_pages_current+0xa5/0x110
May 14 14:35:57 backup1 kernel: [ 3574.773148] [] ? new_slab+0x282/0x290
May 14 14:35:57 backup1 kernel: [ 3574.773152] [] ? apic_timer_interrupt+0x13/0x20
May 14 14:35:57 backup1 kernel: [ 3574.773155] [] ? __slab_alloc+0x262/0x390
May 14 14:35:57 backup1 kernel: [ 3574.773159] [] ? __netdev_alloc_skb+0x24/0x50
May 14 14:35:57 backup1 kernel: [ 3574.773162] [] ? __kmalloc_node_track_caller+0x8d/0x1a0
May 14 14:35:57 backup1 kernel: [ 3574.773164] [] ? __netdev_alloc_skb+0x24/0x50
May 14 14:35:57 backup1 kernel: [ 3574.773167] [] ? __alloc_skb+0x83/0x170
May 14 14:35:57 backup1 kernel: [ 3574.773169] [] ? __netdev_alloc_skb+0x24/0x50
May 14 14:35:57 backup1 kernel: [ 3574.773173] [] ? irq_to_desc+0x17/0x20
May 14 14:35:57 backup1 kernel: [ 3574.773185] [] ? e1000_alloc_rx_buffers+0x2f1/0x510 [e1000]
May 14 14:35:57 backup1 kernel: [ 3574.773189] [] ? e1000_clean_rx_irq+0x32e/0x4b0 [e1000]
May 14 14:35:57 backup1 kernel: [ 3574.773193] [] ? do_IRQ+0x66/0xe0
May 14 14:35:57 backup1 kernel: [ 3574.773196] [] ? e1000_clean+0x51/0xc0 [e1000]
May 14 14:35:57 backup1 kernel: [ 3574.773200] [] ? net_rx_action+0x128/0x270
May 14 14:35:57 backup1 kernel: [ 3574.773204] [] ? __do_softirq+0xa8/0x1c0
May 14 14:35:57 backup1 kernel: [ 3574.773208] [] ? ack_apic_level+0x78/0x1a0
May 14 14:35:57 backup1 kernel: [ 3574.773211] [] ? call_softirq+0x1c/0x30
May 14 14:35:57 backup1 kernel: [ 3574.773213] [] ? do_softirq+0x65/0xa0
May 14 14:35:57 backup1 kernel: [ 3574.773215] [] ? irq_exit+0x85/0x90
May 14 14:35:57 backup1 kernel: [ 3574.773218] [] ? do_IRQ+0x66/0xe0
May 14 14:35:57 backup1 kernel: [ 3574.773221] [] ? ret_from_intr+0x0/0x15
May 14 14:35:57 backup1 kernel: [ 3574.773222] [] ? __ticket_spin_lock+0x1f/0x20
May 14 14:35:57 backup1 kernel: [ 3574.773228] [] ? _raw_spin_lock+0xe/0x20
May 14 14:35:57 backup1 kernel: [ 3574.773237] [] ? spl_slab_reclaim+0x46/0x280 [spl]
May 14 14:35:57 backup1 kernel: [ 3574.773242] [] ? spl_kmem_cache_reap_now+0x5b/0x80 [spl]
May 14 14:35:57 backup1 kernel: [ 3574.773277] [] ? arc_kmem_reap_now+0xa8/0x100 [zfs]
May 14 14:35:57 backup1 kernel: [ 3574.773290] [] ? arc_reclaim_thread+0x76/0x150 [zfs]
May 14 14:35:57 backup1 kernel: [ 3574.773302] [] ? arc_reclaim_thread+0x0/0x150 [zfs]
May 14 14:35:57 backup1 kernel: [ 3574.773307] [] ? thread_generic_wrapper+0x78/0x90 [spl]
May 14 14:35:57 backup1 kernel: [ 3574.773312] [] ? thread_generic_wrapper+0x0/0x90 [spl]
May 14 14:35:57 backup1 kernel: [ 3574.773315] [] ? kthread+0x96/0xa0
May 14 14:35:57 backup1 kernel: [ 3574.773318] [] ? kernel_thread_helper+0x4/0x10
May 14 14:35:57 backup1 kernel: [ 3574.773320] [] ? kthread+0x0/0xa0
May 14 14:35:57 backup1 kernel: [ 3574.773322] [] ? kernel_thread_helper+0x0/0x10
May 14 14:35:57 backup1 kernel: [ 3574.773324] Mem-Info:
May 14 14:35:57 backup1 kernel: [ 3574.773326] Node 0 DMA per-cpu:
May 14 14:35:57 backup1 kernel: [ 3574.773328] CPU 0: hi: 0, btch: 1 usd: 0
May 14 14:35:57 backup1 kernel: [ 3574.773330] CPU 1: hi: 0, btch: 1 usd: 0
May 14 14:35:57 backup1 kernel: [ 3574.773331] Node 0 DMA32 per-cpu:
May 14 14:35:57 backup1 kernel: [ 3574.773333] CPU 0: hi: 186, btch: 31 usd: 0
May 14 14:35:57 backup1 kernel: [ 3574.773335] CPU 1: hi: 186, btch: 31 usd: 44
May 14 14:35:57 backup1 kernel: [ 3574.773336] Node 0 Normal per-cpu:
May 14 14:35:57 backup1 kernel: [ 3574.773338] CPU 0: hi: 186, btch: 31 usd: 0
May 14 14:35:57 backup1 kernel: [ 3574.773340] CPU 1: hi: 186, btch: 31 usd: 32
May 14 14:35:57 backup1 kernel: [ 3574.773343] active_anon:76 inactive_anon:18 isolated_anon:32
May 14 14:35:57 backup1 kernel: [ 3574.773344] active_file:42 inactive_file:109 isolated_file:0
May 14 14:35:57 backup1 kernel: [ 3574.773345] unevictable:0 dirty:0 writeback:0 unstable:0
May 14 14:35:57 backup1 kernel: [ 3574.773346] free:5652 slab_reclaimable:1542 slab_unreclaimable:28054
May 14 14:35:57 backup1 kernel: [ 3574.773347] mapped:52 shmem:0 pagetables:1000 bounce:0
May 14 14:35:57 backup1 kernel: [ 3574.773348] Node 0 DMA free:15868kB min:28kB low:32kB high:40kB active_anon:0kB inactive_anon:0kB active_file:0kB inactive_file:0kB unevictable:0kB isolated(anon):0kB isolated(file):0kB present:15684kB mlocked:0kB dirty:0kB writeback:0kB mapped:0kB shmem:0kB slab_reclaimable:0kB slab_unreclaimable:8kB kernel_stack:0kB pagetables:0kB unstable:0kB bounce:0kB writeback_tmp:0kB pages_scanned:0 all_unreclaimable? yes
May 14 14:35:57 backup1 kernel: [ 3574.773356] lowmem_reserve[]: 0 3000 4010 4010
May 14 14:35:57 backup1 kernel: [ 3574.773360] Node 0 DMA32 free:6316kB min:6048kB low:7560kB high:9072kB active_anon:264kB inactive_anon:72kB active_file:64kB inactive_file:404kB unevictable:0kB isolated(anon):128kB isolated(file):0kB present:3072160kB mlocked:0kB dirty:0kB writeback:0kB mapped:56kB shmem:0kB slab_reclaimable:120kB slab_unreclaimable:68520kB kernel_stack:48kB pagetables:320kB unstable:0kB bounce:0kB writeback_tmp:0kB pages_scanned:135 all_unreclaimable? no
May 14 14:35:57 backup1 kernel: [ 3574.773367] lowmem_reserve[]: 0 0 1010 1010
May 14 14:35:57 backup1 kernel: [ 3574.773370] Node 0 Normal free:424kB min:2036kB low:2544kB high:3052kB active_anon:40kB inactive_anon:0kB active_file:104kB inactive_file:32kB unevictable:0kB isolated(anon):0kB isolated(file):0kB present:1034240kB mlocked:0kB dirty:0kB writeback:0kB mapped:152kB shmem:0kB slab_reclaimable:6048kB slab_unreclaimable:43688kB kernel_stack:4832kB pagetables:3680kB unstable:0kB bounce:0kB writeback_tmp:0kB pages_scanned:42 all_unreclaimable? no
May 14 14:35:57 backup1 kernel: [ 3574.773378] lowmem_reserve[]: 0 0 0 0
May 14 14:35:57 backup1 kernel: [ 3574.773381] Node 0 DMA: 1_4kB 1_8kB 1_16kB 1_32kB 1_64kB 1_128kB 1_256kB 0_512kB 1_1024kB 1_2048kB 3_4096kB = 15868kB
May 14 14:35:57 backup1 kernel: [ 3574.773389] Node 0 DMA32: 1039_4kB 26_8kB 6_16kB 0_32kB 3_64kB 3_128kB 3_256kB 1_512kB 0_1024kB 0_2048kB 0_4096kB = 6316kB
May 14 14:35:57 backup1 kernel: [ 3574.773396] Node 0 Normal: 106_4kB 0_8kB 0_16kB 0_32kB 0_64kB 0_128kB 0_256kB 0_512kB 0_1024kB 0_2048kB 0_4096kB = 424kB
May 14 14:35:57 backup1 kernel: [ 3574.773403] 166 total pagecache pages
May 14 14:35:57 backup1 kernel: [ 3574.773405] 27 pages in swap cache
May 14 14:35:57 backup1 kernel: [ 3574.773407] Swap cache stats: add 80897, delete 80870, find 27816/36805
May 14 14:35:57 backup1 kernel: [ 3574.773408] Free swap = 386480kB
May 14 14:35:57 backup1 kernel: [ 3574.773409] Total swap = 487420kB
May 14 14:35:57 backup1 kernel: [ 3574.788887] 1048560 pages RAM
May 14 14:35:57 backup1 kernel: [ 3574.788890] 33891 pages reserved
May 14 14:35:57 backup1 kernel: [ 3574.788891] 256 pages shared
May 14 14:35:57 backup1 kernel: [ 3574.788892] 995468 pages non-shared
May 14 14:35:57 backup1 kernel: [ 3574.788896] SLUB: Unable to allocate memory on node -1 (gfp=0x20)
May 14 14:35:57 backup1 kernel: [ 3574.788898] cache: kmalloc-2048, object size: 2048, buffer size: 2048, default order: 3, min order: 0
May 14 14:35:57 backup1 kernel: [ 3574.788901] node 0: slabs: 81, objs: 1212, free: 0
May 14 14:35:57 backup1 kernel: [ 3579.916544] shrink_slab: arc_shrinker_func+0x0/0xc0 [zfs] negative objects to delete nr=-9192127551635086224
May 14 14:35:57 backup1 kernel: [ 3580.234557] __alloc_pages_slowpath: 150 callbacks suppressed
May 14 14:35:57 backup1 kernel: [ 3580.234562] rm: page allocation failure. order:0, mode:0x4020
May 14 14:35:57 backup1 kernel: [ 3580.234565] Pid: 22839, comm: rm Tainted: P 2.6.38-8-server #42-Ubuntu
May 14 14:35:57 backup1 kernel: [ 3580.234567] Call Trace:
May 14 14:35:57 backup1 kernel: [ 3580.234569] [] ? __alloc_pages_nodemask+0x5f4/0x830
May 14 14:35:57 backup1 kernel: [ 3580.234582] [] ? tcp_validate_incoming+0x151/0x2c0
May 14 14:35:57 backup1 kernel: [ 3580.234590] [] ? alloc_pages_current+0xa5/0x110
May 14 14:35:57 backup1 kernel: [ 3580.234594] [] ? new_slab+0x282/0x290
May 14 14:35:57 backup1 kernel: [ 3580.234596] [] ? __slab_alloc+0x262/0x390
May 14 14:35:57 backup1 kernel: [ 3580.234600] [] ? __netdev_alloc_skb+0x24/0x50
May 14 14:35:57 backup1 kernel: [ 3580.234603] [] ? __kmalloc_node_track_caller+0x8d/0x1a0
May 14 14:35:57 backup1 kernel: [ 3580.234605] [] ? __netdev_alloc_skb+0x24/0x50
May 14 14:35:57 backup1 kernel: [ 3580.234607] [] ? __alloc_skb+0x83/0x170
May 14 14:35:57 backup1 kernel: [ 3580.234609] [] ? __netdev_alloc_skb+0x24/0x50
May 14 14:35:57 backup1 kernel: [ 3580.234622] [] ? e1000_alloc_rx_buffers+0x2f1/0x510 [e1000]
May 14 14:35:57 backup1 kernel: [ 3580.234625] [] ? e1000_clean_rx_irq+0x32e/0x4b0 [e1000]
May 14 14:35:57 backup1 kernel: [ 3580.234630] [] ? delayed_work_timer_fn+0x0/0x40
May 14 14:35:57 backup1 kernel: [ 3580.234634] [] ? e1000_clean+0x51/0xc0 [e1000]
May 14 14:35:57 backup1 kernel: [ 3580.234637] [] ? net_rx_action+0x128/0x270
May 14 14:35:57 backup1 kernel: [ 3580.234641] [] ? __do_softirq+0xa8/0x1c0
May 14 14:35:57 backup1 kernel: [ 3580.234644] [] ? ack_apic_level+0x78/0x1a0
May 14 14:35:57 backup1 kernel: [ 3580.234647] [] ? call_softirq+0x1c/0x30
May 14 14:35:57 backup1 kernel: [ 3580.234650] [] ? do_softirq+0x65/0xa0
May 14 14:35:57 backup1 kernel: [ 3580.234652] [] ? irq_exit+0x85/0x90
May 14 14:35:57 backup1 kernel: [ 3580.234655] [] ? do_IRQ+0x66/0xe0
May 14 14:35:57 backup1 kernel: [ 3580.234658] [] ? ret_from_intr+0x0/0x15
May 14 14:35:57 backup1 kernel: [ 3580.234660] [] ? _raw_spin_lock+0xe/0x20
May 14 14:35:57 backup1 kernel: [ 3580.234669] [] ? spl_kmem_cache_reap_now+0x6d/0x80 [spl]
May 14 14:35:57 backup1 kernel: [ 3580.234674] [] ? spl_kmem_cache_reap_now+0x5b/0x80 [spl]
May 14 14:35:57 backup1 kernel: [ 3580.234701] [] ? arc_kmem_reap_now+0xa8/0x100 [zfs]
May 14 14:35:57 backup1 kernel: [ 3580.234712] [] ? arc_shrinker_func+0x82/0xc0 [zfs]
May 14 14:35:57 backup1 kernel: [ 3580.234716] [] ? shrink_slab+0x11c/0x180
May 14 14:35:57 backup1 kernel: [ 3580.234718] [] ? do_try_to_free_pages+0x217/0x2d0
May 14 14:35:57 backup1 kernel: [ 3580.234721] [] ? try_to_free_pages+0x87/0x110
May 14 14:35:57 backup1 kernel: [ 3580.234724] [] ? __alloc_pages_nodemask+0x484/0x830
May 14 14:35:57 backup1 kernel: [ 3580.234727] [] ? alloc_pages_current+0xa5/0x110
May 14 14:35:57 backup1 kernel: [ 3580.234729] [] ? pte_alloc_one+0x1b/0x50
May 14 14:35:57 backup1 kernel: [ 3580.234732] [] ? __pte_alloc+0x35/0x100
May 14 14:35:57 backup1 kernel: [ 3580.234735] [] ? handle_mm_fault+0x129/0x250
May 14 14:35:57 backup1 kernel: [ 3580.234738] [] ? do_page_fault+0x1a2/0x540
May 14 14:35:57 backup1 kernel: [ 3580.234741] [] ? putname+0x35/0x50
May 14 14:35:57 backup1 kernel: [ 3580.234744] [] ? do_unlinkat+0x59/0x1c0
May 14 14:35:57 backup1 kernel: [ 3580.234746] [] ? sys_newfstatat+0x2a/0x40
May 14 14:35:57 backup1 kernel: [ 3580.234749] [] ? page_fault+0x25/0x30
May 14 14:35:57 backup1 kernel: [ 3580.234750] Mem-Info:
May 14 14:35:57 backup1 kernel: [ 3580.234752] Node 0 DMA per-cpu:
May 14 14:35:57 backup1 kernel: [ 3580.234755] CPU 0: hi: 0, btch: 1 usd: 0
May 14 14:35:57 backup1 kernel: [ 3580.234756] CPU 1: hi: 0, btch: 1 usd: 0
May 14 14:35:57 backup1 kernel: [ 3580.234758] Node 0 DMA32 per-cpu:
May 14 14:35:57 backup1 kernel: [ 3580.234760] CPU 0: hi: 186, btch: 31 usd: 1
May 14 14:35:57 backup1 kernel: [ 3580.234761] CPU 1: hi: 186, btch: 31 usd: 0
May 14 14:35:57 backup1 kernel: [ 3580.234763] Node 0 Normal per-cpu:
May 14 14:35:57 backup1 kernel: [ 3580.234765] CPU 0: hi: 186, btch: 31 usd: 0
May 14 14:35:57 backup1 kernel: [ 3580.234766] CPU 1: hi: 186, btch: 31 usd: 0
May 14 14:35:57 backup1 kernel: [ 3580.234770] active_anon:2 inactive_anon:10 isolated_anon:0
May 14 14:35:57 backup1 kernel: [ 3580.234771] active_file:6 inactive_file:21 isolated_file:0
May 14 14:35:57 backup1 kernel: [ 3580.234771] unevictable:0 dirty:0 writeback:0 unstable:0
May 14 14:35:57 backup1 kernel: [ 3580.234772] free:5171 slab_reclaimable:1534 slab_unreclaimable:28174
May 14 14:35:57 backup1 kernel: [ 3580.234773] mapped:10 shmem:0 pagetables:1000 bounce:0
May 14 14:35:57 backup1 kernel: [ 3580.234775] Node 0 DMA free:15868kB min:28kB low:32kB high:40kB active_anon:0kB inactive_anon:0kB active_file:0kB inactive_file:0kB unevictable:0kB isolated(anon):0kB isolated(file):0kB present:15684kB mlocked:0kB dirty:0kB writeback:0kB mapped:0kB shmem:0kB slab_reclaimable:0kB slab_unreclaimable:8kB kernel_stack:0kB pagetables:0kB unstable:0kB bounce:0kB writeback_tmp:0kB pages_scanned:0 all_unreclaimable? yes
May 14 14:35:57 backup1 kernel: [ 3580.234782] lowmem_reserve[]: 0 3000 4010 4010
May 14 14:35:57 backup1 kernel: [ 3580.234786] Node 0 DMA32 free:4816kB min:6048kB low:7560kB high:9072kB active_anon:8kB inactive_anon:0kB active_file:8kB inactive_file:84kB unevictable:0kB isolated(anon):0kB isolated(file):0kB present:3072160kB mlocked:0kB dirty:0kB writeback:0kB mapped:36kB shmem:0kB slab_reclaimable:88kB slab_unreclaimable:69000kB kernel_stack:48kB pagetables:320kB unstable:0kB bounce:0kB writeback_tmp:0kB pages_scanned:0 all_unreclaimable? no
May 14 14:35:57 backup1 kernel: [ 3580.234793] lowmem_reserve[]: 0 0 1010 1010
May 14 14:35:57 backup1 kernel: [ 3580.234796] Node 0 Normal free:0kB min:2036kB low:2544kB high:3052kB active_anon:0kB inactive_anon:40kB active_file:16kB inactive_file:0kB unevictable:0kB isolated(anon):0kB isolated(file):0kB present:1034240kB mlocked:0kB dirty:0kB writeback:0kB mapped:4kB shmem:0kB slab_reclaimable:6048kB slab_unreclaimable:43688kB kernel_stack:4832kB pagetables:3680kB unstable:0kB bounce:0kB writeback_tmp:0kB pages_scanned:0 all_unreclaimable? no
May 14 14:35:57 backup1 kernel: [ 3580.234804] lowmem_reserve[]: 0 0 0 0
May 14 14:35:57 backup1 kernel: [ 3580.234806] Node 0 DMA: 1_4kB 1_8kB 1_16kB 1_32kB 1_64kB 1_128kB 1_256kB 0_512kB 1_1024kB 1_2048kB 3_4096kB = 15868kB
May 14 14:35:57 backup1 kernel: [ 3580.234814] Node 0 DMA32: 830_4kB 7_8kB 2_16kB 2_32kB 1_64kB 0_128kB 3_256kB 1_512kB 0_1024kB 0_2048kB 0_4096kB = 4816kB
May 14 14:35:57 backup1 kernel: [ 3580.234822] Node 0 Normal: 0_4kB 0_8kB 0_16kB 0_32kB 0_64kB 0_128kB 0_256kB 0_512kB 0_1024kB 0_2048kB 0_4096kB = 0kB
May 14 14:35:57 backup1 kernel: [ 3580.234885] 39 total pagecache pages
May 14 14:35:57 backup1 kernel: [ 3580.234887] 1 pages in swap cache
May 14 14:35:57 backup1 kernel: [ 3580.234889] Swap cache stats: add 81008, delete 81007, find 27816/36805
May 14 14:35:57 backup1 kernel: [ 3580.234890] Free swap = 386036kB
May 14 14:35:57 backup1 kernel: [ 3580.234891] Total swap = 487420kB
May 14 14:35:57 backup1 kernel: [ 3580.251467] 1048560 pages RAM
May 14 14:35:57 backup1 kernel: [ 3580.251470] 33891 pages reserved
May 14 14:35:57 backup1 kernel: [ 3580.251471] 67 pages shared
May 14 14:35:57 backup1 kernel: [ 3580.251472] 996113 pages non-shared
May 14 14:35:57 backup1 kernel: [ 3580.251476] SLUB: Unable to allocate memory on node -1 (gfp=0x20)
May 14 14:35:57 backup1 kernel: [ 3580.251479] cache: kmalloc-2048, object size: 2048, buffer size: 2048, default order: 3, min order: 0
May 14 14:35:57 backup1 kernel: [ 3580.251481] node 0: slabs: 96, objs: 1452, free: 0
May 14 14:35:57 backup1 kernel: [ 3580.327035] shrink_slab: arc_shrinker_func+0x0/0xc0 [zfs] negative objects to delete nr=-7783065207899288820
May 14 14:35:57 backup1 kernel: [ 3581.233402] irqbalance: page allocation failure. order:0, mode:0x4020
May 14 14:35:57 backup1 kernel: [ 3581.233407] Pid: 927, comm: irqbalance Tainted: P 2.6.38-8-server #42-Ubuntu
May 14 14:35:57 backup1 kernel: [ 3581.233410] Call Trace:
May 14 14:35:57 backup1 kernel: [ 3581.233412] [] ? __alloc_pages_nodemask+0x5f4/0x830
May 14 14:35:57 backup1 kernel: [ 3581.233423] [] ? alloc_pages_current+0xa5/0x110
May 14 14:35:57 backup1 kernel: [ 3581.233427] [] ? new_slab+0x282/0x290
May 14 14:35:57 backup1 kernel: [ 3581.233429] [] ? __slab_alloc+0x262/0x390
May 14 14:35:57 backup1 kernel: [ 3581.233433] [] ? __netdev_alloc_skb+0x24/0x50
May 14 14:35:57 backup1 kernel: [ 3581.233435] [] ? __kmalloc_node_track_caller+0x8d/0x1a0
May 14 14:35:57 backup1 kernel: [ 3581.233438] [] ? __netdev_alloc_skb+0x24/0x50
May 14 14:35:57 backup1 kernel: [ 3581.233440] [

@behlendorf
Copy link
Contributor

Thanks for the bug report, I've noticed similar behavior and am currently looking in to it.

kernelOfTruth pushed a commit to kernelOfTruth/zfs that referenced this issue Mar 1, 2015
Re-order initialization in spl_kmem_init to allow for kmem tracing
to work.  The spl_kmem_init function calls taskq_create prior to
initializing the tracking (calling spl_kmem_init_tracking).  Since
taskq_create uses kmem_alloc, NULL dereferences occur because the
global kmem_list hasn't had its next & prev pointers initialized yet.

This commit moves the calls to spl_kmem_init_tracking earlier in the
spl_kmem_init function in order that the subsequent kmem_alloc calls
(by taskq_create) work properly.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes openzfs#243
fuhrmannb pushed a commit to fuhrmannb/cstor that referenced this issue Nov 3, 2020
ahrens added a commit to ahrens/zfs that referenced this issue Dec 22, 2020
The performance of `zfs receive` can be bottlenecked on the CPU consumed
by the `receive_writer` thread, especially when receiving streams with
small compressed block sizes.  Much of the CPU is spent creating and
destroying dbuf's and arc buf's, one for each `WRITE` record in the send
stream.

This commit introduces the concept of "lightweight writes", which allows
`zfs receive` to write to the DMU by providing an ABD, and instantiating
only a new type of `dbuf_dirty_record_t`.  The dbuf and arc buf for this
"dirty leaf block" are not instantiated.

Because there is no dbuf with the dirty data, this mechanism doesn't
support reading from "lightweight-dirty" blocks (they would see the
on-disk state rather than the dirty data).  Since the dedup-receive code
has been removed, `zfs receive` is write-only, so this works fine.

Because there are no arc bufs for the received data, the received data
is no longer cached in the ARC.

Testing a receive of a stream with average compressed block size of 4KB,
this commit improves performance by 50%, while also reducing CPU usage
by 50% of a CPU.  On a per-block basis, CPU consumed by receive_writer()
and dbuf_evict() is now 1/7th (14%) of what it was.

Baseline: 450MB/s, CPU in receive_writer() 40% + dbuf_evict() 35%
New: 670MB/s, CPU in receive_writer() 17% + dbuf_evict() 0%

The code is also restructured in a few ways:

Added a `dr_dnode` field to the dbuf_dirty_record_t.  This simplifies
some existing code that no longer needs `DB_DNODE_ENTER()` and related
routines.  The new field is needed by the lightweight-type dirty record.

To ensure that the `dr_dnode` field remains valid until the dirty record
is freed, we have to ensure that the `dnode_move()` doesn't relocate the
dnode_t.  To do this we keep a hold on the dnode until it's zio's have
completed.  This is already done by the user-accounting code
(`userquota_updates_task()`), this commit extends that so that it always
keeps the dnode hold until zio completion (see `dnode_rele_task()`).

`dn_dirty_txg` was previously zeroed when the dnode was synced.  This
was not necessary, since its meaning can be "when was this dnode last
dirtied".  This change simplifies the new `dnode_rele_task()` code.

Removed some dead code related to `DRR_WRITE_BYREF` (dedup receive).

Signed-off-by: Matthew Ahrens <mahrens@delphix.com>
sdimitro pushed a commit to sdimitro/zfs that referenced this issue May 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants