[sheepdog-users] qemu-nbd and dd
Valerio Pachera
sirio81 at gmail.com
Tue Feb 4 08:25:43 CET 2014
Here's the point: I'm trying to create a mirror of a block device on a vdi.
When I run tests with 500M there are no problems but when I copy a bigger
amount of data (e.g. 20G), qemu-nbd seems to disconnect (by the messages I
get in sheep.log), but the processo is still alive.
The effect I get is that the copy hangs, 'dog vdi list' also hangs,
'qemu-nbd -d /dev/nbd0' hangs, 'dog node kill 0' hangs.
So the cluster is kind of frozen.
The onli thing I can do is to reboot the node 0 (the one running qemu-nbd).
ps aux | grep qemu-nbd
root 2789 0.1 0.5 69200 11508 ? Ssl feb03 1:21 qemu-nbd
-c /dev/nbd0 sheepdog:sistema_mirror
dog node list
Id Host:Port V-Nodes Zone
0 192.168.10.4:7000 107 67807424
1 192.168.10.5:7000 207 84584640
2 192.168.10.6:7000 97 101361856
3 192.168.10.7:7000 101 118139072
dog vdi list
Name Id Size Used Shared Creation time VDI id Copies
Tag
sistema_mirror 0 24 GB 9.4 GB 0.0 MB 2014-02-03 16:48 13c60b
2:1
c wheezy_minimal 0 3.9 GB 0.0 MB 1012 MB 2014-01-28 16:45 1a99d9
2:1
nbd0_block 0 50 GB 6.6 GB 0.0 MB 2014-01-21 18:17 1d596b 2:1
...<hang>...
Sheepdog daemon version 0.8.0_31_gf2a00e1
QEMU emulator version 1.6.50
/var/sheep/sheep.log
[266904.388934] nbd: registered device at major 43
[266947.188736] block nbd0: NBD_DISCONNECT
[266947.189041] block nbd0: Unexpected reply (ffff8800084a3c58)
[266947.189309] block nbd0: queue cleared
[267212.302371] block nbd0: NBD_DISCONNECT
[267212.302655] block nbd0: Unexpected reply (ffff880004df9c58)
[267212.368741] block nbd0: queue cleared
[267741.369185] block nbd0: NBD_DISCONNECT
[267741.369451] block nbd0: Unexpected reply (ffff880004d4fc58)
[267741.618210] block nbd0: queue cleared
[268030.252831] block nbd0: NBD_DISCONNECT
[268030.253102] block nbd0: Unexpected reply (ffff880006b01c58)
[268030.506146] block nbd0: queue cleared
[605094.364246] block nbd0: NBD_DISCONNECT
[605094.364655] block nbd0: Unexpected reply (ffff880005707c58)
[605094.364884] block nbd0: queue cleared
[605151.748821] block nbd0: NBD_DISCONNECT
[605151.749114] block nbd0: Unexpected reply (ffff880074081c58)
[605151.750838] block nbd0: queue cleared
[605366.036589] block nbd0: NBD_DISCONNECT
[605366.036882] block nbd0: Unexpected reply (ffff880074171c58)
[605366.038608] block nbd0: queue cleared
[608189.537841] block nbd0: NBD_DISCONNECT
[608189.946757] block nbd0: Unexpected reply (ffff880006bddc58)
[608190.198368] block nbd0: queue cleared
[608246.316551] block nbd0: NBD_DISCONNECT
[608246.316849] block nbd0: Unexpected reply (ffff880020db3c58)
[608246.577224] block nbd0: queue cleared
[608318.444758] block nbd0: NBD_DISCONNECT
[608318.445048] block nbd0: Unexpected reply (ffff88004d5b9c58)
[608318.701296] block nbd0: queue cleared
[608395.089149] block nbd0: NBD_DISCONNECT
[608395.089434] block nbd0: Unexpected reply (ffff8800134efc58)
[608395.346413] block nbd0: queue cleared
[608427.549061] block nbd0: NBD_DISCONNECT
[608427.549333] block nbd0: Unexpected reply (ffff880005091c58)
[608427.808279] block nbd0: queue cleared
[608514.375923] block nbd0: NBD_DISCONNECT
[608514.376223] block nbd0: Unexpected reply (ffff8800440afc58)
[608514.378241] block nbd0: queue cleared
[608792.236539] block nbd0: NBD_DISCONNECT
[608792.236832] block nbd0: Unexpected reply (ffff8800440afc58)
[608792.238694] block nbd0: queue cleared
[608870.784907] block nbd0: NBD_DISCONNECT
[608870.785199] block nbd0: Unexpected reply (ffff880050cf7c58)
[608870.786924] block nbd0: queue cleared
[608966.753806] block nbd0: NBD_DISCONNECT
[608968.083637] block nbd0: Unexpected reply (ffff880045dbfc58)
[608968.337105] block nbd0: queue cleared
[611601.621622] block nbd0: NBD_DISCONNECT
[611601.621901] block nbd0: Unexpected reply (ffff8800295f1c58)
[611601.879094] block nbd0: queue cleared
[612807.021413] block nbd0: NBD_DISCONNECT
[612807.021707] block nbd0: Unexpected reply (ffff8800247b9c58)
[612807.280124] block nbd0: queue cleared
[612859.680467] block nbd0: NBD_DISCONNECT
[612859.680757] block nbd0: Unexpected reply (ffff880045c31c58)
[612859.936098] block nbd0: queue cleared
[612911.461513] block nbd0: NBD_DISCONNECT
[612911.461816] block nbd0: Unexpected reply (ffff88000f5adc58)
[612911.719748] block nbd0: queue cleared
[614041.648259] INFO: task sheep:25482 blocked for more than 120 seconds.
[614041.648399] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables
this message.
[614041.648551] sheep D ffff880077c13780 0 25482 1
0x00000000
[614041.648563] ffff880072b1a080 0000000000000082 ffffffff810b938f
ffffffff8160d020
[614041.648576] 0000000000013780 ffff880044151fd8 ffff880044151fd8
ffff880072b1a080
[614041.648586] ffff880044151778 ffff880044151778 ffff88003740b8a0
ffff880077c13fd0
[614041.648595] Call Trace:
[614041.648611] [<ffffffff810b938f>] ? get_pageblock_flags_group+0x3a/0x6e
[614041.648623] [<ffffffff810b47b3>] ? lock_page+0x20/0x20
[614041.648632] [<ffffffff8134dac1>] ? io_schedule+0x59/0x71
[614041.648641] [<ffffffff810b47b9>] ? sleep_on_page+0x6/0xa
[614041.648649] [<ffffffff8134df04>] ? __wait_on_bit+0x3e/0x71
[614041.648658] [<ffffffff810b48f5>] ? wait_on_page_bit+0x6e/0x73
[614041.648668] [<ffffffff8105fb09>] ? autoremove_wake_function+0x2a/0x2a
[614041.648678] [<ffffffff810c2850>] ? shrink_page_list+0x166/0x73f
[614041.648689] [<ffffffff810c9cfa>] ? zone_page_state_add+0x14/0x23
[614041.648698] [<ffffffff810ca514>] ? __mod_zone_page_state+0x3c/0x45
[614041.648706] [<ffffffff810c0e13>] ? update_isolated_counts+0x13b/0x15a
[614041.648715] [<ffffffff810c32c4>] ? shrink_inactive_list+0x2cd/0x3f0
[614041.648724] [<ffffffff810c3a89>] ? shrink_zone+0x3c0/0x4e6
[614041.648734] [<ffffffff810c3fa7>] ? do_try_to_free_pages+0x1cc/0x41c
[614041.648743] [<ffffffff810c4462>] ? try_to_free_pages+0xa9/0xe9
[614041.648752] [<ffffffff810364e8>] ? should_resched+0x5/0x23
[614041.648761] [<ffffffff810bb3ee>] ? __alloc_pages_nodemask+0x4ed/0x7aa
[614041.648770] [<ffffffff8134d86c>] ? _cond_resched+0x7/0x1c
[614041.648779] [<ffffffff8103ec07>] ? set_task_cpu+0xc1/0xd4
[614041.648789] [<ffffffff810e5f05>] ? alloc_pages_vma+0x12d/0x136
[614041.648798] [<ffffffff8103ec07>] ? set_task_cpu+0xc1/0xd4
[614041.648807] [<ffffffff810f1912>] ?
do_huge_pmd_anonymous_page+0xad/0x259
[614041.648817] [<ffffffff81351b2e>] ? do_page_fault+0x320/0x345
[614041.648827] [<ffffffff810d60b0>] ? mmap_region+0x353/0x44a
[614041.648837] [<ffffffff8134f135>] ? page_fault+0x25/0x30
[614041.648854] INFO: task flush-43:0:2797 blocked for more than 120
seconds.
[614041.648987] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables
this message.
[614041.649138] flush-43:0 D ffff880077c13780 0 2797 2
0x00000000
[614041.649148] ffff880072d71590 0000000000000046 0000000000000000
ffffffff8160d020
[614041.649158] 0000000000013780 ffff880012501fd8 ffff880012501fd8
ffff880072d71590
[614041.649168] ffff880012501850 0000000112501850 ffff880072b7f4b0
ffff880077c13fd0
[614041.649177] Call Trace:
[614041.649186] [<ffffffff8134dac1>] ? io_schedule+0x59/0x71
[614041.649196] [<ffffffff811991b2>] ? get_request_wait+0x105/0x18f
[614041.649205] [<ffffffff8105fadf>] ? add_wait_queue+0x3c/0x3c
[614041.649214] [<ffffffff8119a107>] ? blk_queue_bio+0x17f/0x28c
[614041.649223] [<ffffffff81198c3e>] ? generic_make_request+0x90/0xcf
[614041.649232] [<ffffffff81198d50>] ? submit_bio+0xd3/0xf1
[614041.649242] [<ffffffff81120a1e>] ? bio_alloc_bioset+0x43/0xb6
[614041.649250] [<ffffffff8111c99c>] ? submit_bh+0xe2/0xff
[614041.649258] [<ffffffff8111dd89>] ? __block_write_full_page+0x1ee/0x2d5
[614041.649268] [<ffffffff8111f5a5>] ? bit_spin_lock.constprop.30+0x22/0x22
[614041.649278] [<ffffffff811220f4>] ? blkdev_get_blocks+0x83/0x83
[614041.649287] [<ffffffff810bbfd2>] ? __writepage+0xa/0x21
[614041.649295] [<ffffffff810bbe5a>] ? write_cache_pages+0x1f8/0x2e9
[614041.649304] [<ffffffff810bbfc8>] ? set_page_dirty_lock+0x2b/0x2b
[614041.649314] [<ffffffff810bbf85>] ? generic_writepages+0x3a/0x52
[614041.649324] [<ffffffff81118003>] ? writeback_single_inode+0x11d/0x2cc
[614041.649334] [<ffffffff81118483>] ? writeback_sb_inodes+0x16b/0x204
[614041.649344] [<ffffffff81118589>] ? __writeback_inodes_wb+0x6d/0xab
[614041.649354] [<ffffffff811186ef>] ? wb_writeback+0x128/0x21f
[614041.649362] [<ffffffff81070e05>] ? arch_local_irq_save+0x11/0x17
[614041.649372] [<ffffffff81118ba6>] ? wb_do_writeback+0x146/0x1a8
[614041.649382] [<ffffffff81118c8d>] ? bdi_writeback_thread+0x85/0x1e6
[614041.649392] [<ffffffff81118c08>] ? wb_do_writeback+0x1a8/0x1a8
[614041.649400] [<ffffffff8105f48d>] ? kthread+0x76/0x7e
[614041.649409] [<ffffffff81355cf4>] ? kernel_thread_helper+0x4/0x10
[614041.649419] [<ffffffff8105f417>] ? kthread_worker_fn+0x139/0x139
[614041.649427] [<ffffffff81355cf0>] ? gs_change+0x13/0x13
[614161.648258] INFO: task sheep:25482 blocked for more than 120 seconds.
[614161.648396] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables
this message.
[614161.648549] sheep D ffff880077c13780 0 25482 1
0x00000000
[614161.648561] ffff880072b1a080 0000000000000082 ffffffff810b938f
ffffffff8160d020
[614161.648573] 0000000000013780 ffff880044151fd8 ffff880044151fd8
ffff880072b1a080
[614161.648583] ffff880044151778 ffff880044151778 ffff88003740b8a0
ffff880077c13fd0
[614161.648593] Call Trace:
[614161.648608] [<ffffffff810b938f>] ? get_pageblock_flags_group+0x3a/0x6e
[614161.648620] [<ffffffff810b47b3>] ? lock_page+0x20/0x20
[614161.648629] [<ffffffff8134dac1>] ? io_schedule+0x59/0x71
[614161.648638] [<ffffffff810b47b9>] ? sleep_on_page+0x6/0xa
[614161.648645] [<ffffffff8134df04>] ? __wait_on_bit+0x3e/0x71
[614161.648654] [<ffffffff810b48f5>] ? wait_on_page_bit+0x6e/0x73
[614161.648665] [<ffffffff8105fb09>] ? autoremove_wake_function+0x2a/0x2a
[614161.648675] [<ffffffff810c2850>] ? shrink_page_list+0x166/0x73f
[614161.648685] [<ffffffff810c9cfa>] ? zone_page_state_add+0x14/0x23
[614161.648695] [<ffffffff810ca514>] ? __mod_zone_page_state+0x3c/0x45
[614161.648703] [<ffffffff810c0e13>] ? update_isolated_counts+0x13b/0x15a
[614161.648712] [<ffffffff810c32c4>] ? shrink_inactive_list+0x2cd/0x3f0
[614161.648721] [<ffffffff810c3a89>] ? shrink_zone+0x3c0/0x4e6
[614161.648731] [<ffffffff810c3fa7>] ? do_try_to_free_pages+0x1cc/0x41c
[614161.648740] [<ffffffff810c4462>] ? try_to_free_pages+0xa9/0xe9
[614161.648749] [<ffffffff810364e8>] ? should_resched+0x5/0x23
[614161.648758] [<ffffffff810bb3ee>] ? __alloc_pages_nodemask+0x4ed/0x7aa
[614161.648767] [<ffffffff8134d86c>] ? _cond_resched+0x7/0x1c
[614161.648777] [<ffffffff8103ec07>] ? set_task_cpu+0xc1/0xd4
[614161.648786] [<ffffffff810e5f05>] ? alloc_pages_vma+0x12d/0x136
[614161.648795] [<ffffffff8103ec07>] ? set_task_cpu+0xc1/0xd4
[614161.648804] [<ffffffff810f1912>] ?
do_huge_pmd_anonymous_page+0xad/0x259
[614161.648815] [<ffffffff81351b2e>] ? do_page_fault+0x320/0x345
[614161.648824] [<ffffffff810d60b0>] ? mmap_region+0x353/0x44a
[614161.648835] [<ffffffff8134f135>] ? page_fault+0x25/0x30
[614161.648852] INFO: task flush-43:0:2797 blocked for more than 120
seconds.
[614161.648984] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables
this message.
[614161.649135] flush-43:0 D ffff880077c13780 0 2797 2
0x00000000
[614161.649145] ffff880072d71590 0000000000000046 0000000000000000
ffffffff8160d020
[614161.649156] 0000000000013780 ffff880012501fd8 ffff880012501fd8
ffff880072d71590
[614161.649165] ffff880012501850 0000000112501850 ffff880072b7f4b0
ffff880077c13fd0
[614161.649175] Call Trace:
[614161.649183] [<ffffffff8134dac1>] ? io_schedule+0x59/0x71
[614161.649193] [<ffffffff811991b2>] ? get_request_wait+0x105/0x18f
[614161.649203] [<ffffffff8105fadf>] ? add_wait_queue+0x3c/0x3c
[614161.649212] [<ffffffff8119a107>] ? blk_queue_bio+0x17f/0x28c
[614161.649222] [<ffffffff81198c3e>] ? generic_make_request+0x90/0xcf
[614161.649230] [<ffffffff81198d50>] ? submit_bio+0xd3/0xf1
[614161.649240] [<ffffffff81120a1e>] ? bio_alloc_bioset+0x43/0xb6
[614161.649248] [<ffffffff8111c99c>] ? submit_bh+0xe2/0xff
[614161.649257] [<ffffffff8111dd89>] ? __block_write_full_page+0x1ee/0x2d5
[614161.649266] [<ffffffff8111f5a5>] ? bit_spin_lock.constprop.30+0x22/0x22
[614161.649276] [<ffffffff811220f4>] ? blkdev_get_blocks+0x83/0x83
[614161.649285] [<ffffffff810bbfd2>] ? __writepage+0xa/0x21
[614161.649293] [<ffffffff810bbe5a>] ? write_cache_pages+0x1f8/0x2e9
[614161.649302] [<ffffffff810bbfc8>] ? set_page_dirty_lock+0x2b/0x2b
[614161.649312] [<ffffffff810bbf85>] ? generic_writepages+0x3a/0x52
[614161.649323] [<ffffffff81118003>] ? writeback_single_inode+0x11d/0x2cc
[614161.649333] [<ffffffff81118483>] ? writeback_sb_inodes+0x16b/0x204
[614161.649343] [<ffffffff81118589>] ? __writeback_inodes_wb+0x6d/0xab
[614161.649353] [<ffffffff811186ef>] ? wb_writeback+0x128/0x21f
[614161.649361] [<ffffffff81070e05>] ? arch_local_irq_save+0x11/0x17
[614161.649371] [<ffffffff81118ba6>] ? wb_do_writeback+0x146/0x1a8
[614161.649381] [<ffffffff81118c8d>] ? bdi_writeback_thread+0x85/0x1e6
[614161.649391] [<ffffffff81118c08>] ? wb_do_writeback+0x1a8/0x1a8
[614161.649399] [<ffffffff8105f48d>] ? kthread+0x76/0x7e
[614161.649408] [<ffffffff81355cf4>] ? kernel_thread_helper+0x4/0x10
[614161.649418] [<ffffffff8105f417>] ? kthread_worker_fn+0x139/0x139
[614161.649426] [<ffffffff81355cf0>] ? gs_change+0x13/0x13
[614281.648258] INFO: task sheep:25482 blocked for more than 120 seconds.
[614281.648397] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables
this message.
[614281.648550] sheep D ffff880077c13780 0 25482 1
0x00000000
[614281.648562] ffff880072b1a080 0000000000000082 ffffffff810b938f
ffffffff8160d020
[614281.648574] 0000000000013780 ffff880044151fd8 ffff880044151fd8
ffff880072b1a080
[614281.648584] ffff880044151778 ffff880044151778 ffff88003740b8a0
ffff880077c13fd0
[614281.648594] Call Trace:
[614281.648609] [<ffffffff810b938f>] ? get_pageblock_flags_group+0x3a/0x6e
[614281.648621] [<ffffffff810b47b3>] ? lock_page+0x20/0x20
[614281.648630] [<ffffffff8134dac1>] ? io_schedule+0x59/0x71
[614281.648639] [<ffffffff810b47b9>] ? sleep_on_page+0x6/0xa
[614281.648646] [<ffffffff8134df04>] ? __wait_on_bit+0x3e/0x71
[614281.648655] [<ffffffff810b48f5>] ? wait_on_page_bit+0x6e/0x73
[614281.648666] [<ffffffff8105fb09>] ? autoremove_wake_function+0x2a/0x2a
[614281.648676] [<ffffffff810c2850>] ? shrink_page_list+0x166/0x73f
[614281.648686] [<ffffffff810c9cfa>] ? zone_page_state_add+0x14/0x23
[614281.648696] [<ffffffff810ca514>] ? __mod_zone_page_state+0x3c/0x45
[614281.648704] [<ffffffff810c0e13>] ? update_isolated_counts+0x13b/0x15a
[614281.648713] [<ffffffff810c32c4>] ? shrink_inactive_list+0x2cd/0x3f0
[614281.648722] [<ffffffff810c3a89>] ? shrink_zone+0x3c0/0x4e6
[614281.648732] [<ffffffff810c3fa7>] ? do_try_to_free_pages+0x1cc/0x41c
[614281.648741] [<ffffffff810c4462>] ? try_to_free_pages+0xa9/0xe9
[614281.648749] [<ffffffff810364e8>] ? should_resched+0x5/0x23
[614281.648759] [<ffffffff810bb3ee>] ? __alloc_pages_nodemask+0x4ed/0x7aa
[614281.648767] [<ffffffff8134d86c>] ? _cond_resched+0x7/0x1c
[614281.648777] [<ffffffff8103ec07>] ? set_task_cpu+0xc1/0xd4
[614281.648786] [<ffffffff810e5f05>] ? alloc_pages_vma+0x12d/0x136
[614281.648795] [<ffffffff8103ec07>] ? set_task_cpu+0xc1/0xd4
[614281.648805] [<ffffffff810f1912>] ?
do_huge_pmd_anonymous_page+0xad/0x259
[614281.648815] [<ffffffff81351b2e>] ? do_page_fault+0x320/0x345
[614281.648825] [<ffffffff810d60b0>] ? mmap_region+0x353/0x44a
[614281.648835] [<ffffffff8134f135>] ? page_fault+0x25/0x30
[614281.648851] INFO: task flush-43:0:2797 blocked for more than 120
seconds.
[614281.648984] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables
this message.
[614281.649135] flush-43:0 D ffff880077c13780 0 2797 2
0x00000000
[614281.649145] ffff880072d71590 0000000000000046 0000000000000000
ffffffff8160d020
[614281.649155] 0000000000013780 ffff880012501fd8 ffff880012501fd8
ffff880072d71590
[614281.649165] ffff880012501850 0000000112501850 ffff880072b7f4b0
ffff880077c13fd0
[614281.649174] Call Trace:
[614281.649183] [<ffffffff8134dac1>] ? io_schedule+0x59/0x71
[614281.649192] [<ffffffff811991b2>] ? get_request_wait+0x105/0x18f
[614281.649202] [<ffffffff8105fadf>] ? add_wait_queue+0x3c/0x3c
[614281.649211] [<ffffffff8119a107>] ? blk_queue_bio+0x17f/0x28c
[614281.649220] [<ffffffff81198c3e>] ? generic_make_request+0x90/0xcf
[614281.649229] [<ffffffff81198d50>] ? submit_bio+0xd3/0xf1
[614281.649238] [<ffffffff81120a1e>] ? bio_alloc_bioset+0x43/0xb6
[614281.649247] [<ffffffff8111c99c>] ? submit_bh+0xe2/0xff
[614281.649255] [<ffffffff8111dd89>] ? __block_write_full_page+0x1ee/0x2d5
[614281.649264] [<ffffffff8111f5a5>] ? bit_spin_lock.constprop.30+0x22/0x22
[614281.649274] [<ffffffff811220f4>] ? blkdev_get_blocks+0x83/0x83
[614281.649283] [<ffffffff810bbfd2>] ? __writepage+0xa/0x21
[614281.649292] [<ffffffff810bbe5a>] ? write_cache_pages+0x1f8/0x2e9
[614281.649300] [<ffffffff810bbfc8>] ? set_page_dirty_lock+0x2b/0x2b
[614281.649310] [<ffffffff810bbf85>] ? generic_writepages+0x3a/0x52
[614281.649321] [<ffffffff81118003>] ? writeback_single_inode+0x11d/0x2cc
[614281.649331] [<ffffffff81118483>] ? writeback_sb_inodes+0x16b/0x204
[614281.649341] [<ffffffff81118589>] ? __writeback_inodes_wb+0x6d/0xab
[614281.649351] [<ffffffff811186ef>] ? wb_writeback+0x128/0x21f
[614281.649359] [<ffffffff81070e05>] ? arch_local_irq_save+0x11/0x17
[614281.649369] [<ffffffff81118ba6>] ? wb_do_writeback+0x146/0x1a8
[614281.649379] [<ffffffff81118c8d>] ? bdi_writeback_thread+0x85/0x1e6
[614281.649388] [<ffffffff81118c08>] ? wb_do_writeback+0x1a8/0x1a8
[614281.649397] [<ffffffff8105f48d>] ? kthread+0x76/0x7e
[614281.649406] [<ffffffff81355cf4>] ? kernel_thread_helper+0x4/0x10
[614281.649416] [<ffffffff8105f417>] ? kthread_worker_fn+0x139/0x139
[614281.649424] [<ffffffff81355cf0>] ? gs_change+0x13/0x13
[614401.648228] INFO: task sheep:25482 blocked for more than 120 seconds.
[614401.648365] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables
this message.
[614401.648518] sheep D ffff880077c13780 0 25482 1
0x00000000
[614401.648530] ffff880072b1a080 0000000000000082 ffffffff810b938f
ffffffff8160d020
[614401.648542] 0000000000013780 ffff880044151fd8 ffff880044151fd8
ffff880072b1a080
[614401.648551] ffff880044151778 ffff880044151778 ffff88003740b8a0
ffff880077c13fd0
[614401.648561] Call Trace:
[614401.648576] [<ffffffff810b938f>] ? get_pageblock_flags_group+0x3a/0x6e
[614401.648588] [<ffffffff810b47b3>] ? lock_page+0x20/0x20
[614401.648597] [<ffffffff8134dac1>] ? io_schedule+0x59/0x71
[614401.648606] [<ffffffff810b47b9>] ? sleep_on_page+0x6/0xa
[614401.648613] [<ffffffff8134df04>] ? __wait_on_bit+0x3e/0x71
[614401.648622] [<ffffffff810b48f5>] ? wait_on_page_bit+0x6e/0x73
[614401.648633] [<ffffffff8105fb09>] ? autoremove_wake_function+0x2a/0x2a
[614401.648643] [<ffffffff810c2850>] ? shrink_page_list+0x166/0x73f
[614401.648653] [<ffffffff810c9cfa>] ? zone_page_state_add+0x14/0x23
[614401.648663] [<ffffffff810ca514>] ? __mod_zone_page_state+0x3c/0x45
[614401.648671] [<ffffffff810c0e13>] ? update_isolated_counts+0x13b/0x15a
[614401.648680] [<ffffffff810c32c4>] ? shrink_inactive_list+0x2cd/0x3f0
[614401.648689] [<ffffffff810c3a89>] ? shrink_zone+0x3c0/0x4e6
[614401.648699] [<ffffffff810c3fa7>] ? do_try_to_free_pages+0x1cc/0x41c
[614401.648708] [<ffffffff810c4462>] ? try_to_free_pages+0xa9/0xe9
[614401.648716] [<ffffffff810364e8>] ? should_resched+0x5/0x23
[614401.648726] [<ffffffff810bb3ee>] ? __alloc_pages_nodemask+0x4ed/0x7aa
[614401.648734] [<ffffffff8134d86c>] ? _cond_resched+0x7/0x1c
[614401.648744] [<ffffffff8103ec07>] ? set_task_cpu+0xc1/0xd4
[614401.648753] [<ffffffff810e5f05>] ? alloc_pages_vma+0x12d/0x136
[614401.648763] [<ffffffff8103ec07>] ? set_task_cpu+0xc1/0xd4
[614401.648772] [<ffffffff810f1912>] ?
do_huge_pmd_anonymous_page+0xad/0x259
[614401.648782] [<ffffffff81351b2e>] ? do_page_fault+0x320/0x345
[614401.648792] [<ffffffff810d60b0>] ? mmap_region+0x353/0x44a
[614401.648802] [<ffffffff8134f135>] ? page_fault+0x25/0x30
[614401.648819] INFO: task flush-43:0:2797 blocked for more than 120
seconds.
[614401.648951] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables
this message.
[614401.649102] flush-43:0 D ffff880077c13780 0 2797 2
0x00000000
[614401.649112] ffff880072d71590 0000000000000046 0000000000000000
ffffffff8160d020
[614401.649122] 0000000000013780 ffff880012501fd8 ffff880012501fd8
ffff880072d71590
[614401.649132] ffff880012501850 0000000112501850 ffff880072b7f4b0
ffff880077c13fd0
[614401.649142] Call Trace:
[614401.649150] [<ffffffff8134dac1>] ? io_schedule+0x59/0x71
[614401.649160] [<ffffffff811991b2>] ? get_request_wait+0x105/0x18f
[614401.649169] [<ffffffff8105fadf>] ? add_wait_queue+0x3c/0x3c
[614401.649178] [<ffffffff8119a107>] ? blk_queue_bio+0x17f/0x28c
[614401.649187] [<ffffffff81198c3e>] ? generic_make_request+0x90/0xcf
[614401.649196] [<ffffffff81198d50>] ? submit_bio+0xd3/0xf1
[614401.649205] [<ffffffff81120a1e>] ? bio_alloc_bioset+0x43/0xb6
[614401.649214] [<ffffffff8111c99c>] ? submit_bh+0xe2/0xff
[614401.649222] [<ffffffff8111dd89>] ? __block_write_full_page+0x1ee/0x2d5
[614401.649232] [<ffffffff8111f5a5>] ? bit_spin_lock.constprop.30+0x22/0x22
[614401.649241] [<ffffffff811220f4>] ? blkdev_get_blocks+0x83/0x83
[614401.649250] [<ffffffff810bbfd2>] ? __writepage+0xa/0x21
[614401.649259] [<ffffffff810bbe5a>] ? write_cache_pages+0x1f8/0x2e9
[614401.649267] [<ffffffff810bbfc8>] ? set_page_dirty_lock+0x2b/0x2b
[614401.649278] [<ffffffff810bbf85>] ? generic_writepages+0x3a/0x52
[614401.649288] [<ffffffff81118003>] ? writeback_single_inode+0x11d/0x2cc
[614401.649298] [<ffffffff81118483>] ? writeback_sb_inodes+0x16b/0x204
[614401.649308] [<ffffffff81118589>] ? __writeback_inodes_wb+0x6d/0xab
[614401.649318] [<ffffffff811186ef>] ? wb_writeback+0x128/0x21f
[614401.649326] [<ffffffff81070e05>] ? arch_local_irq_save+0x11/0x17
[614401.649336] [<ffffffff81118ba6>] ? wb_do_writeback+0x146/0x1a8
[614401.649346] [<ffffffff81118c8d>] ? bdi_writeback_thread+0x85/0x1e6
[614401.649356] [<ffffffff81118c08>] ? wb_do_writeback+0x1a8/0x1a8
[614401.649364] [<ffffffff8105f48d>] ? kthread+0x76/0x7e
[614401.649373] [<ffffffff81355cf4>] ? kernel_thread_helper+0x4/0x10
[614401.649383] [<ffffffff8105f417>] ? kthread_worker_fn+0x139/0x139
[614401.649391] [<ffffffff81355cf0>] ? gs_change+0x13/0x13
[614521.648230] INFO: task sheep:25482 blocked for more than 120 seconds.
[614521.648369] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables
this message.
[614521.648522] sheep D ffff880077c13780 0 25482 1
0x00000000
[614521.648534] ffff880072b1a080 0000000000000082 ffffffff810b938f
ffffffff8160d020
[614521.648546] 0000000000013780 ffff880044151fd8 ffff880044151fd8
ffff880072b1a080
[614521.648556] ffff880044151778 ffff880044151778 ffff88003740b8a0
ffff880077c13fd0
[614521.648566] Call Trace:
[614521.648581] [<ffffffff810b938f>] ? get_pageblock_flags_group+0x3a/0x6e
[614521.648593] [<ffffffff810b47b3>] ? lock_page+0x20/0x20
[614521.648602] [<ffffffff8134dac1>] ? io_schedule+0x59/0x71
[614521.648611] [<ffffffff810b47b9>] ? sleep_on_page+0x6/0xa
[614521.648619] [<ffffffff8134df04>] ? __wait_on_bit+0x3e/0x71
[614521.648628] [<ffffffff810b48f5>] ? wait_on_page_bit+0x6e/0x73
[614521.648638] [<ffffffff8105fb09>] ? autoremove_wake_function+0x2a/0x2a
[614521.648648] [<ffffffff810c2850>] ? shrink_page_list+0x166/0x73f
[614521.648659] [<ffffffff810c9cfa>] ? zone_page_state_add+0x14/0x23
[614521.648668] [<ffffffff810ca514>] ? __mod_zone_page_state+0x3c/0x45
[614521.648676] [<ffffffff810c0e13>] ? update_isolated_counts+0x13b/0x15a
[614521.648685] [<ffffffff810c32c4>] ? shrink_inactive_list+0x2cd/0x3f0
[614521.648694] [<ffffffff810c3a89>] ? shrink_zone+0x3c0/0x4e6
[614521.648704] [<ffffffff810c3fa7>] ? do_try_to_free_pages+0x1cc/0x41c
[614521.648713] [<ffffffff810c4462>] ? try_to_free_pages+0xa9/0xe9
[614521.648722] [<ffffffff810364e8>] ? should_resched+0x5/0x23
[614521.648731] [<ffffffff810bb3ee>] ? __alloc_pages_nodemask+0x4ed/0x7aa
[614521.648740] [<ffffffff8134d86c>] ? _cond_resched+0x7/0x1c
[614521.648750] [<ffffffff8103ec07>] ? set_task_cpu+0xc1/0xd4
[614521.648759] [<ffffffff810e5f05>] ? alloc_pages_vma+0x12d/0x136
[614521.648768] [<ffffffff8103ec07>] ? set_task_cpu+0xc1/0xd4
[614521.648777] [<ffffffff810f1912>] ?
do_huge_pmd_anonymous_page+0xad/0x259
[614521.648788] [<ffffffff81351b2e>] ? do_page_fault+0x320/0x345
[614521.648797] [<ffffffff810d60b0>] ? mmap_region+0x353/0x44a
[614521.648807] [<ffffffff8134f135>] ? page_fault+0x25/0x30
[614521.648824] INFO: task flush-43:0:2797 blocked for more than 120
seconds.
[614521.648957] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables
this message.
[614521.649108] flush-43:0 D ffff880077c13780 0 2797 2
0x00000000
[614521.649118] ffff880072d71590 0000000000000046 0000000000000000
ffffffff8160d020
[614521.649128] 0000000000013780 ffff880012501fd8 ffff880012501fd8
ffff880072d71590
[614521.649138] ffff880012501850 0000000112501850 ffff880072b7f4b0
ffff880077c13fd0
[614521.649147] Call Trace:
[614521.649155] [<ffffffff8134dac1>] ? io_schedule+0x59/0x71
[614521.649165] [<ffffffff811991b2>] ? get_request_wait+0x105/0x18f
[614521.649175] [<ffffffff8105fadf>] ? add_wait_queue+0x3c/0x3c
[614521.649184] [<ffffffff8119a107>] ? blk_queue_bio+0x17f/0x28c
[614521.649193] [<ffffffff81198c3e>] ? generic_make_request+0x90/0xcf
[614521.649201] [<ffffffff81198d50>] ? submit_bio+0xd3/0xf1
[614521.649211] [<ffffffff81120a1e>] ? bio_alloc_bioset+0x43/0xb6
[614521.649219] [<ffffffff8111c99c>] ? submit_bh+0xe2/0xff
[614521.649228] [<ffffffff8111dd89>] ? __block_write_full_page+0x1ee/0x2d5
[614521.649237] [<ffffffff8111f5a5>] ? bit_spin_lock.constprop.30+0x22/0x22
[614521.649247] [<ffffffff811220f4>] ? blkdev_get_blocks+0x83/0x83
[614521.649256] [<ffffffff810bbfd2>] ? __writepage+0xa/0x21
[614521.649264] [<ffffffff810bbe5a>] ? write_cache_pages+0x1f8/0x2e9
[614521.649273] [<ffffffff810bbfc8>] ? set_page_dirty_lock+0x2b/0x2b
[614521.649283] [<ffffffff810bbf85>] ? generic_writepages+0x3a/0x52
[614521.649294] [<ffffffff81118003>] ? writeback_single_inode+0x11d/0x2cc
[614521.649303] [<ffffffff81118483>] ? writeback_sb_inodes+0x16b/0x204
[614521.649314] [<ffffffff81118589>] ? __writeback_inodes_wb+0x6d/0xab
[614521.649323] [<ffffffff811186ef>] ? wb_writeback+0x128/0x21f
[614521.649331] [<ffffffff81070e05>] ? arch_local_irq_save+0x11/0x17
[614521.649341] [<ffffffff81118ba6>] ? wb_do_writeback+0x146/0x1a8
[614521.649351] [<ffffffff81118c8d>] ? bdi_writeback_thread+0x85/0x1e6
[614521.649361] [<ffffffff81118c08>] ? wb_do_writeback+0x1a8/0x1a8
[614521.649370] [<ffffffff8105f48d>] ? kthread+0x76/0x7e
[614521.649379] [<ffffffff81355cf4>] ? kernel_thread_helper+0x4/0x10
[614521.649388] [<ffffffff8105f417>] ? kthread_worker_fn+0x139/0x139
[614521.649396] [<ffffffff81355cf0>] ? gs_change+0x13/0x13
2014-01-30 Valerio Pachera <sirio81 at gmail.com>:
> Hi all, I'm wondering if using dd on top of nbd may cause problems.
> Most of all I wonder how it behaves with the non allocate space.
>
> E.g.
>
> dog vdi create test 1G
>
> lsmod | grep nbd || modprobe nbd
>
> qemu-nbd -c /dev/nbd0 sheepdog:test
>
> dd if=/dev/nbd0 of=/tmp/nbd0.img bs=1M
>
> Is there any known issue using qemu-nbd or may I consider nbd0 as a
> "normal" block device?
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wpkg.org/pipermail/sheepdog-users/attachments/20140204/242e0084/attachment-0004.html>
More information about the sheepdog-users
mailing list