以mpt3sas驱动为例,从用户态发送读写命令到控制器驱动入口。
[<ffffffff8162a7c9>] dump_stack+0x19/0x1b
[<ffffffffa0173b2e>] _scsih_qcmd+0x4be/0x5f0 [mpt3sas]
[<ffffffff8141789a>] ? scsi_setup_cmnd+0xfa/0x180
[<ffffffff81410b3a>] scsi_dispatch_cmd+0xaa/0x230
[<ffffffff81419a61>] scsi_request_fn+0x501/0x770
[<ffffffff812bf1b3>] __blk_run_queue+0x33/0x40
[<ffffffff812c3fc3>] blk_queue_bio+0x343/0x3a0
[<ffffffff812befe2>] generic_make_request+0xe2/0x130
[<ffffffff812bf0a1>] submit_bio+0x71/0x150
[<ffffffff8121059d>] ? bio_alloc_bioset+0x1fd/0x350
[<ffffffff8120b5b3>] _submit_bh+0x143/0x210
[<ffffffff8120c2c7>] __bread+0x57/0xc0
[<ffffffffa02b611c>] ext4_fill_super+0x11ec/0x2940 [ext4]
[<ffffffff811dade0>] mount_bdev+0x1b0/0x1f0
[<ffffffffa02b4f30>] ? ext4_calculate_overhead+0x3d0/0x3d0 [ext4]
[<ffffffffa02a6ec5>] ext4_mount+0x15/0x20 [ext4]
[<ffffffff811db579>] mount_fs+0x39/0x1b0
[<ffffffff81185055>] ? __alloc_percpu+0x15/0x20
[<ffffffff811f6d9f>] vfs_kern_mount+0x5f/0xf0
[<ffffffff811f92ee>] do_mount+0x24e/0xa40
[<ffffffff8117f65b>] ? strndup_user+0x4b/0xa0
[<ffffffff811f9b76>] SyS_mount+0x96/0xf0
[<ffffffff8163aec9>] system_call_fastpath+0x16/0x1b
[<ffffffff8162a7c9>] dump_stack+0x19/0x1b
[<ffffffffa0173b2e>] _scsih_qcmd+0x4be/0x5f0 [mpt3sas]
[<ffffffff8141789a>] ? scsi_setup_cmnd+0xfa/0x180
[<ffffffff81410b3a>] scsi_dispatch_cmd+0xaa/0x230
[<ffffffff81419a61>] scsi_request_fn+0x501/0x770
[<ffffffff812bf1b3>] __blk_run_queue+0x33/0x40
[<ffffffff812bf26a>] queue_unplugged+0x2a/0xa0
[<ffffffff812c3c28>] blk_flush_plug_list+0x1d8/0x230
[<ffffffff812c4034>] blk_finish_plug+0x14/0x40
[<ffffffff8116e83e>] __do_page_cache_readahead+0x1de/0x250
[<ffffffff8116ed99>] force_page_cache_readahead+0x79/0xc0
[<ffffffff8116ee23>] page_cache_sync_readahead+0x43/0x50
[<ffffffff811634db>] generic_file_aio_read+0x1ab/0x750
[<ffffffff812124cc>] blkdev_aio_read+0x4c/0x70
[<ffffffffa0079a75>] ? sd_ioctl+0xd5/0x140 [sd_mod]
[<ffffffff811d6a2d>] do_sync_read+0x8d/0xd0
[<ffffffff811d718c>] vfs_read+0x9c/0x170
[<ffffffff811d7e1f>] SyS_read+0x7f/0xe0
[<ffffffff8163aec9>] system_call_fastpath+0x16/0x1b
#dd if=/dev/zero of=/dev/sdf
CPU: 21 PID: 23882 Comm: dd Not tainted 3.10.0-327.alios7.x86_64.debug #50
Hardware name: Inspur SA5212M4/YZMB-00370-102, BIOS 4.1.8 07/02/2016
ffff885e5d29ca80 0000000040b191a1 ffff885eff0a3be0 ffffffff8162a7c9
ffff885eff0a3c48 ffffffffa0173b2e ffff885e6426b000 ffff885efe803300
ffff885eff0a3cb0 ffffea0178e2a800 ffff885e38aa0f00 ffff885eff0a3c28
Call Trace:
<IRQ> [<ffffffff8162a7c9>] dump_stack+0x19/0x1b
[<ffffffffa0173b2e>] _scsih_qcmd+0x4be/0x5f0 [mpt3sas]
[<ffffffff81410b3a>] scsi_dispatch_cmd+0xaa/0x230
[<ffffffff81419a61>] scsi_request_fn+0x501/0x770
[<ffffffff812bf1b3>] __blk_run_queue+0x33/0x40
[<ffffffff812bf226>] blk_run_queue+0x26/0x40
[<ffffffff81417e88>] scsi_run_queue+0x258/0x2f0
[<ffffffff81419d10>] scsi_next_command+0x20/0x40
[<ffffffff81419e85>] scsi_end_request+0x155/0x1d0
[<ffffffff8141a063>] scsi_io_completion+0x103/0x600
[<ffffffff8140f405>] scsi_finish_command+0xd5/0x130
[<ffffffff8141953a>] scsi_softirq_done+0x12a/0x150
[<ffffffff812c95c0>] blk_done_softirq+0x90/0xc0
[<ffffffff8107dfef>] __do_softirq+0xef/0x280
[<ffffffff8163c7dc>] call_softirq+0x1c/0x30
[<ffffffff81016fc5>] do_softirq+0x65/0xa0
[<ffffffff8107e385>] irq_exit+0x115/0x120
[<ffffffff81047395>] smp_call_function_single_interrupt+0x35/0x40
[<ffffffff8163bf9d>] call_function_single_interrupt+0x6d/0x80
<EOI> [<ffffffff8163202b>] ? _raw_spin_unlock_irqrestore+0x1b/0x40
[<ffffffff8116c8f8>] __test_set_page_writeback+0xb8/0x160
[<ffffffff8120c5c0>] ? end_buffer_async_read+0x150/0x150
[<ffffffff8120e1d2>] __block_write_full_page+0x132/0x380
[<ffffffff81211a00>] ? I_BDEV+0x10/0x10
[<ffffffff81211a00>] ? I_BDEV+0x10/0x10
[<ffffffff8120e5eb>] block_write_full_page_endio+0xeb/0x100
[<ffffffff8120e615>] block_write_full_page+0x15/0x20
[<ffffffff81212178>] blkdev_writepage+0x18/0x20
[<ffffffff8116c5b3>] __writepage+0x13/0x50
[<ffffffff8116d0d1>] write_cache_pages+0x251/0x4d0
[<ffffffff810bb52a>] ? check_preempt_wakeup+0x16a/0x250
[<ffffffff8116c5a0>] ? global_dirtyable_memory+0x70/0x70
[<ffffffff8116d39d>] generic_writepages+0x4d/0x80
[<ffffffff8116e44e>] do_writepages+0x1e/0x40
[<ffffffff811631d5>] __filemap_fdatawrite_range+0x65/0x80
[<ffffffff8116324c>] filemap_write_and_wait+0x2c/0x60
[<ffffffff81212cef>] __sync_blockdev+0x1f/0x40
[<ffffffff8121303c>] __blkdev_put+0x5c/0x1a0
[<ffffffff81213ace>] blkdev_put+0x4e/0x140
[<ffffffff81213c75>] blkdev_close+0x25/0x30
[<ffffffff811d91b9>] __fput+0xe9/0x270
[<ffffffff811d947e>] ____fput+0xe/0x10
[<ffffffff8109b2f7>] task_work_run+0xa7/0xe0
[<ffffffff81014b12>] do_notify_resume+0x92/0xb0
[<ffffffff8163b17d>] int_signal+0x12/0x17
CPU: 21 PID: 23882 Comm: dd Not tainted 3.10.0-327.alios7.x86_64.debug #50
Hardware name: Inspur SA5212M4/YZMB-00370-102, BIOS 4.1.8 07/02/2016
ffff885e5d29ce00 0000000040b191a1 ffff885e5edc3888 ffffffff8162a7c9
ffff885e5edc38f0 ffffffffa0173b2e ffff885e5edc38b8 ffffffff8141789a
ffff885e61fb1800 ffff885e604b6a08 ffff885e5edc38f0 ffff885e5edc38d0
Call Trace:
[<ffffffff8162a7c9>] dump_stack+0x19/0x1b
[<ffffffffa0173b2e>] _scsih_qcmd+0x4be/0x5f0 [mpt3sas]
[<ffffffff8141789a>] ? scsi_setup_cmnd+0xfa/0x180
[<ffffffff81410b3a>] scsi_dispatch_cmd+0xaa/0x230
[<ffffffff81419a61>] scsi_request_fn+0x501/0x770
[<ffffffff812bf1b3>] __blk_run_queue+0x33/0x40
[<ffffffff812bf26a>] queue_unplugged+0x2a/0xa0
[<ffffffff812c3c28>] blk_flush_plug_list+0x1d8/0x230
[<ffffffff8120a100>] ? generic_block_bmap+0x70/0x70
[<ffffffff8162f598>] io_schedule_timeout+0x128/0x130
[<ffffffff8162f5b8>] io_schedule+0x18/0x20
[<ffffffff8120a10e>] sleep_on_buffer+0xe/0x20
[<ffffffff8162dd60>] __wait_on_bit+0x60/0x90
[<ffffffff812bf0a1>] ? submit_bio+0x71/0x150
[<ffffffff8120a100>] ? generic_block_bmap+0x70/0x70
[<ffffffff8162de17>] out_of_line_wait_on_bit+0x87/0xb0
[<ffffffff8109fb80>] ? wake_atomic_t_function+0x40/0x40
[<ffffffff8120d6bc>] __block_write_begin+0x33c/0x490
[<ffffffff81211a00>] ? I_BDEV+0x10/0x10
[<ffffffff811626fb>] ? grab_cache_page_write_begin+0x9b/0xd0
[<ffffffff81211a00>] ? I_BDEV+0x10/0x10
[<ffffffff8120d856>] block_write_begin+0x46/0x90
[<ffffffff81212113>] blkdev_write_begin+0x23/0x30
[<ffffffff811628bd>] generic_file_buffered_write+0x11d/0x290
[<ffffffff81163de5>] __generic_file_aio_write+0x1d5/0x3e0
[<ffffffff8121295a>] blkdev_aio_write+0x5a/0xd0
[<ffffffff811d6afd>] do_sync_write+0x8d/0xd0
[<ffffffff811d7358>] vfs_write+0xf8/0x320
[<ffffffff811d7eff>] SyS_write+0x7f/0xe0
[<ffffffff8163aec9>] system_call_fastpath+0x16/0x1b
CPU: 21 PID: 23882 Comm: dd Not tainted 3.10.0-327.alios7.x86_64.debug #50
Hardware name: Inspur SA5212M4/YZMB-00370-102, BIOS 4.1.8 07/02/2016
ffff885e5d29ce00 0000000040b191a1 ffff885e5edc3888 ffffffff8162a7c9
ffff885e5edc38f0 ffffffffa0173b2e ffff885e5edc38b8 ffffffff8141789a
ffff885e61fb1800 ffff885e604b6a08 ffff885e5edc38f0 ffff885e5edc38d0
Call Trace:
[<ffffffff8162a7c9>] dump_stack+0x19/0x1b
[<ffffffffa0173b2e>] _scsih_qcmd+0x4be/0x5f0 [mpt3sas]
[<ffffffff8141789a>] ? scsi_setup_cmnd+0xfa/0x180
[<ffffffff81410b3a>] scsi_dispatch_cmd+0xaa/0x230
[<ffffffff81419a61>] scsi_request_fn+0x501/0x770
[<ffffffff812bf1b3>] __blk_run_queue+0x33/0x40
[<ffffffff812bf26a>] queue_unplugged+0x2a/0xa0
[<ffffffff812c3c28>] blk_flush_plug_list+0x1d8/0x230
[<ffffffff8120a100>] ? generic_block_bmap+0x70/0x70
[<ffffffff8162f598>] io_schedule_timeout+0x128/0x130
[<ffffffff8162f5b8>] io_schedule+0x18/0x20
[<ffffffff8120a10e>] sleep_on_buffer+0xe/0x20
[<ffffffff8162dd60>] __wait_on_bit+0x60/0x90
[<ffffffff812bf0a1>] ? submit_bio+0x71/0x150
[<ffffffff8120a100>] ? generic_block_bmap+0x70/0x70
[<ffffffff8162de17>] out_of_line_wait_on_bit+0x87/0xb0
[<ffffffff8109fb80>] ? wake_atomic_t_function+0x40/0x40
[<ffffffff8120d6bc>] __block_write_begin+0x33c/0x490
[<ffffffff81211a00>] ? I_BDEV+0x10/0x10
[<ffffffff811626fb>] ? grab_cache_page_write_begin+0x9b/0xd0
[<ffffffff81211a00>] ? I_BDEV+0x10/0x10
[<ffffffff8120d856>] block_write_begin+0x46/0x90
[<ffffffff81212113>] blkdev_write_begin+0x23/0x30
[<ffffffff811628bd>] generic_file_buffered_write+0x11d/0x290
[<ffffffff81163de5>] __generic_file_aio_write+0x1d5/0x3e0
[<ffffffff8121295a>] blkdev_aio_write+0x5a/0xd0
[<ffffffff811d6afd>] do_sync_write+0x8d/0xd0
[<ffffffff811d7358>] vfs_write+0xf8/0x320
[<ffffffff811d7eff>] SyS_write+0x7f/0xe0
[<ffffffff8163aec9>] system_call_fastpath+0x16/0x1b
#dd if=/dev/sdf of=/dev/null
CPU: 20 PID: 21505 Comm: dd Not tainted 3.10.0-327.alios7.x86_64.debug #50
Hardware name: Inspur SA5212M4/YZMB-00370-102, BIOS 4.1.8 07/02/2016
ffff885e5f82d880 00000000b74bec1d ffff885e68a8fa30 ffffffff8162a7c9
ffff885e68a8fa98 ffffffffa0173b2e ffff885e68a8fa60 ffffffff8141789a
ffff885e5f82ab80 ffff885e604b6a08 ffff885e68a8fa98 ffff885e68a8fa78
Call Trace:
[<ffffffff8162a7c9>] dump_stack+0x19/0x1b
[<ffffffffa0173b2e>] _scsih_qcmd+0x4be/0x5f0 [mpt3sas]
[<ffffffff8141789a>] ? scsi_setup_cmnd+0xfa/0x180
[<ffffffff81410b3a>] scsi_dispatch_cmd+0xaa/0x230
[<ffffffff81419a61>] scsi_request_fn+0x501/0x770
[<ffffffff812bf1b3>] __blk_run_queue+0x33/0x40
[<ffffffff812bf26a>] queue_unplugged+0x2a/0xa0
[<ffffffff812c3c28>] blk_flush_plug_list+0x1d8/0x230
[<ffffffff812c4034>] blk_finish_plug+0x14/0x40
[<ffffffff8116e83e>] __do_page_cache_readahead+0x1de/0x250
[<ffffffff8116ea36>] ondemand_readahead+0x126/0x240
[<ffffffff8116ebd0>] page_cache_async_readahead+0x80/0xa0
[<ffffffff811616be>] ? __find_get_page+0x1e/0xa0
[<ffffffff81163870>] generic_file_aio_read+0x540/0x750
[<ffffffff812124cc>] blkdev_aio_read+0x4c/0x70
[<ffffffff811d6a2d>] do_sync_read+0x8d/0xd0
[<ffffffff811d718c>] vfs_read+0x9c/0x170
[<ffffffff811d7e1f>] SyS_read+0x7f/0xe0
[<ffffffff8163aec9>] system_call_fastpath+0x16/0x1b
#fio -bs=4k -direct=1 -thread -rw=write -size=100M -filename=/dev/sdf -name=”sdx” -iodepth=1 -runtime=10
Hardware name: Inspur SA5212M4/YZMB-00370-102, BIOS 4.1.8 07/02/2016
ffff885e604a7b80 00000000c4165add ffff885e64ef7820 ffffffff8162a7c9
ffff885e64ef7888 ffffffffa0173b2e ffff885e64ef7850 ffffffff8141789a
ffff885e5d16a100 ffff885e604b6a08 ffff885e64ef7888 ffff885e64ef7868
Call Trace:
[<ffffffff8162a7c9>] dump_stack+0x19/0x1b
[<ffffffffa0173b2e>] _scsih_qcmd+0x4be/0x5f0 [mpt3sas]
[<ffffffff8141789a>] ? scsi_setup_cmnd+0xfa/0x180
[<ffffffff81410b3a>] scsi_dispatch_cmd+0xaa/0x230
[<ffffffff81419a61>] scsi_request_fn+0x501/0x770
[<ffffffff812bf1b3>] __blk_run_queue+0x33/0x40
[<ffffffff812bf26a>] queue_unplugged+0x2a/0xa0
[<ffffffff812c3c28>] blk_flush_plug_list+0x1d8/0x230
[<ffffffff8162f598>] io_schedule_timeout+0x128/0x130
[<ffffffff8162f5b8>] io_schedule+0x18/0x20
[<ffffffff81215dc3>] do_blockdev_direct_IO+0xc03/0x2610
[<ffffffff81211a00>] ? I_BDEV+0x10/0x10
[<ffffffff81217825>] __blockdev_direct_IO+0x55/0x60
[<ffffffff81211a00>] ? I_BDEV+0x10/0x10
[<ffffffff81212057>] blkdev_direct_IO+0x57/0x60
[<ffffffff81211a00>] ? I_BDEV+0x10/0x10
[<ffffffff81163b4d>] generic_file_direct_write+0xcd/0x190
[<ffffffff81163f2c>] __generic_file_aio_write+0x31c/0x3e0
[<ffffffff8121295a>] blkdev_aio_write+0x5a/0xd0
[<ffffffff811d6afd>] do_sync_write+0x8d/0xd0
[<ffffffff811d7358>] vfs_write+0xf8/0x320
[<ffffffff811d80b2>] SyS_pwrite64+0x92/0xc0
[<ffffffff8163aec9>] system_call_fastpath+0x16/0x1b
#fio -bs=4k -direct=1 -thread -rw=read -size=100M -filename=/dev/sdf -name=”sdx” -iodepth=1 -runtime=10
CPU: 0 PID: 22384 Comm: fio Not tainted 3.10.0-327.alios7.x86_64.debug #50
Hardware name: Inspur SA5212M4/YZMB-00370-102, BIOS 4.1.8 07/02/2016
ffff885e604a72c0 000000001e10b8b0 ffff885e5ef5b8c0 ffffffff8162a7c9
ffff885e5ef5b928 ffffffffa0173b2e ffff885e5ef5b8f0 ffffffff8141789a
ffff885e581f5c80 ffff885e604b6a08 ffff885e5ef5b928 ffff885e5ef5b908
Call Trace:
[<ffffffff8162a7c9>] dump_stack+0x19/0x1b
[<ffffffffa0173b2e>] _scsih_qcmd+0x4be/0x5f0 [mpt3sas]
[<ffffffff8141789a>] ? scsi_setup_cmnd+0xfa/0x180
[<ffffffff81410b3a>] scsi_dispatch_cmd+0xaa/0x230
[<ffffffff81419a61>] scsi_request_fn+0x501/0x770
[<ffffffff812bf1b3>] __blk_run_queue+0x33/0x40
[<ffffffff812bf26a>] queue_unplugged+0x2a/0xa0
[<ffffffff812c3c28>] blk_flush_plug_list+0x1d8/0x230
[<ffffffff812c4034>] blk_finish_plug+0x14/0x40
[<ffffffff81215d0c>] do_blockdev_direct_IO+0xb4c/0x2610
[<ffffffff810bda84>] ? find_busiest_group+0x114/0x910
[<ffffffff81211a00>] ? I_BDEV+0x10/0x10
[<ffffffff81217825>] __blockdev_direct_IO+0x55/0x60
[<ffffffff81211a00>] ? I_BDEV+0x10/0x10
[<ffffffff81212057>] blkdev_direct_IO+0x57/0x60
[<ffffffff81211a00>] ? I_BDEV+0x10/0x10
[<ffffffff81163a03>] generic_file_aio_read+0x6d3/0x750
[<ffffffff811cc7b6>] ? mem_cgroup_update_page_stat+0x16/0x50
[<ffffffff8118b9e1>] ? __do_fault+0x401/0x510
[<ffffffff812124cc>] blkdev_aio_read+0x4c/0x70
[<ffffffff811d6a2d>] do_sync_read+0x8d/0xd0
[<ffffffff811d718c>] vfs_read+0x9c/0x170
[<ffffffff811d7ff2>] SyS_pread64+0x92/0xc0
[<ffffffff8163aec9>] system_call_fastpath+0x16/0x1b
CPU: 21 PID: 0 Comm: swapper/21 Not tainted 3.10.0-327.alios7.x86_64.debug #50
Hardware name: Inspur SA5212M4/YZMB-00370-102, BIOS 4.1.8 07/02/2016
ffff885e5d29d6c0 c084919c2133fc86 ffff885eff0a3be0 ffffffff8162a7c9
ffff885eff0a3c48 ffffffffa0173b2e 0000000000000000 ffff885efe803300
ffff885eff0a3cb0 ffffea0178e2a800 0000000000000000 ffff885eff0a3c28
Call Trace:
<IRQ> [<ffffffff8162a7c9>] dump_stack+0x19/0x1b
[<ffffffffa0173b2e>] _scsih_qcmd+0x4be/0x5f0 [mpt3sas]
[<ffffffff81410b3a>] scsi_dispatch_cmd+0xaa/0x230
[<ffffffff81419a61>] scsi_request_fn+0x501/0x770
[<ffffffff812bf1b3>] __blk_run_queue+0x33/0x40
[<ffffffff812bf226>] blk_run_queue+0x26/0x40
[<ffffffff81417e88>] scsi_run_queue+0x258/0x2f0
[<ffffffff81419d10>] scsi_next_command+0x20/0x40
[<ffffffff81419e85>] scsi_end_request+0x155/0x1d0
[<ffffffff8141a063>] scsi_io_completion+0x103/0x600
[<ffffffff812f3da4>] ? timerqueue_del+0x24/0x70
[<ffffffff8140f405>] scsi_finish_command+0xd5/0x130
[<ffffffff8141953a>] scsi_softirq_done+0x12a/0x150
[<ffffffff812c95c0>] blk_done_softirq+0x90/0xc0
[<ffffffff8107dfef>] __do_softirq+0xef/0x280
[<ffffffff8163c7dc>] call_softirq+0x1c/0x30
[<ffffffff81016fc5>] do_softirq+0x65/0xa0
[<ffffffff8107e385>] irq_exit+0x115/0x120
[<ffffffff81047395>] smp_call_function_single_interrupt+0x35/0x40
[<ffffffff8163bf9d>] call_function_single_interrupt+0x6d/0x80
<EOI> [<ffffffff81058e96>] ? native_safe_halt+0x6/0x10
[<ffffffff8101dbcf>] default_idle+0x1f/0xc0
[<ffffffff8101e4d6>] arch_cpu_idle+0x26/0x30
[<ffffffff810cf305>] cpu_startup_entry+0x245/0x290
[<ffffffff81047d0a>] start_secondary+0x1ba/0x230
CPU: 35 PID: 23890 Comm: ata_id Not tainted 3.10.0-327.alios7.x86_64.debug #50
Hardware name: Inspur SA5212M4/YZMB-00370-102, BIOS 4.1.8 07/02/2016
ffff885e5840e840 000000008a0cc7b1 ffff885d29f27a08 ffffffff8162a7c9
ffff885d29f27a70 ffffffffa0173b2e ffff885d29f27a38 ffffffff814177f7
ffff885e58134a80 ffff885e604b6a08 ffff885d29f27a70 ffffffff81417a8b
Call Trace:
[<ffffffff8162a7c9>] dump_stack+0x19/0x1b
[<ffffffffa0173b2e>] _scsih_qcmd+0x4be/0x5f0 [mpt3sas]
[<ffffffff814177f7>] ? scsi_setup_cmnd+0x57/0x180
[<ffffffff81417a8b>] ? scsi_prep_fn+0xdb/0x180
[<ffffffff81410b3a>] scsi_dispatch_cmd+0xaa/0x230
[<ffffffff81419a61>] scsi_request_fn+0x501/0x770
[<ffffffff812bf1b3>] __blk_run_queue+0x33/0x40
[<ffffffff812bba03>] __elv_add_request+0xd3/0x2d0
[<ffffffff812c7ecd>] blk_execute_rq_nowait+0xad/0x170
[<ffffffff812c801b>] blk_execute_rq+0x8b/0x150
[<ffffffff812c79b5>] ? blk_rq_append_bio+0x45/0x60
[<ffffffff812c7b3e>] ? blk_rq_map_user+0x16e/0x2c0
[<ffffffff812d3cfb>] sg_io+0x27b/0x450
[<ffffffff812d45c7>] scsi_cmd_ioctl+0x337/0x4d0
[<ffffffff812f0d82>] ? radix_tree_lookup_slot+0x22/0x50
[<ffffffff812d47a2>] scsi_cmd_blk_ioctl+0x42/0x50
[<ffffffffa0079a5e>] sd_ioctl+0xbe/0x140 [sd_mod]
[<ffffffff812d0cc3>] blkdev_ioctl+0x193/0x760
[<ffffffff81212531>] block_ioctl+0x41/0x50
[<ffffffff811eacf5>] do_vfs_ioctl+0x2e5/0x4c0
[<ffffffff811f58e7>] ? __fd_install+0x47/0x60
[<ffffffff811eaf71>] SyS_ioctl+0xa1/0xc0
[<ffffffff8163aec9>] system_call_fastpath+0x16/0x1b
#fdisk /dev/sdf
#mkfs.ext4 /dev/sdf1
CPU: 49 PID: 124903 Comm: systemd-udevd Not tainted 3.10.0-327.alios7.x86_64.debug #50
Hardware name: Inspur SA5212M4/YZMB-00370-102, BIOS 4.1.8 07/02/2016
ffff885e63ffe140 000000004c4cd7ef ffff885d28f63a60 ffffffff8162a7c9
ffff885d28f63ac8 ffffffffa0173b2e ffff885d28f63a90 ffffffff8141789a
ffff885e69574a80 ffff885e604b6a08 ffff885d28f63ac8 ffff885d28f63aa8
Call Trace:
[<ffffffff8162a7c9>] dump_stack+0x19/0x1b
[<ffffffffa0173b2e>] _scsih_qcmd+0x4be/0x5f0 [mpt3sas]
[<ffffffff8141789a>] ? scsi_setup_cmnd+0xfa/0x180
[<ffffffff81410b3a>] scsi_dispatch_cmd+0xaa/0x230
[<ffffffff81419a61>] scsi_request_fn+0x501/0x770
[<ffffffff812bf1b3>] __blk_run_queue+0x33/0x40
[<ffffffff812bf26a>] queue_unplugged+0x2a/0xa0
[<ffffffff812c3c28>] blk_flush_plug_list+0x1d8/0x230
[<ffffffff812c4034>] blk_finish_plug+0x14/0x40
[<ffffffff8116e83e>] __do_page_cache_readahead+0x1de/0x250
[<ffffffff8116ed99>] force_page_cache_readahead+0x79/0xc0
[<ffffffff8116ee23>] page_cache_sync_readahead+0x43/0x50
[<ffffffff811634db>] generic_file_aio_read+0x1ab/0x750
[<ffffffff812124cc>] blkdev_aio_read+0x4c/0x70
[<ffffffff811d6a2d>] do_sync_read+0x8d/0xd0
[<ffffffff811d718c>] vfs_read+0x9c/0x170
[<ffffffff811d7e1f>] SyS_read+0x7f/0xe0
[<ffffffff8163aec9>] system_call_fastpath+0x16/0x1b
CPU: 23 PID: 125351 Comm: mkfs.ext4 Not tainted 3.10.0-327.alios7.x86_64.debug #50
Hardware name: Inspur SA5212M4/YZMB-00370-102, BIOS 4.1.8 07/02/2016
ffff885e60df5180 000000005fce2ac9 ffff885e2c8e3af8 ffffffff8162a7c9
ffff885e2c8e3b60 ffffffffa0173b2e ffff885e2c8e3b28 ffffffff8141789a
ffff885e64814480 ffff885e604b6a08 ffff885e2c8e3b60 ffff885e2c8e3b40
Call Trace:
[<ffffffff8162a7c9>] dump_stack+0x19/0x1b
[<ffffffffa0173b2e>] _scsih_qcmd+0x4be/0x5f0 [mpt3sas]
[<ffffffff8141789a>] ? scsi_setup_cmnd+0xfa/0x180
[<ffffffff81410b3a>] scsi_dispatch_cmd+0xaa/0x230
[<ffffffff81419a61>] scsi_request_fn+0x501/0x770
[<ffffffff812bf1b3>] __blk_run_queue+0x33/0x40
[<ffffffff812bf26a>] queue_unplugged+0x2a/0xa0
[<ffffffff812c3c28>] blk_flush_plug_list+0x1d8/0x230
[<ffffffff812c3e9a>] blk_queue_bio+0x21a/0x3a0
[<ffffffff812befe2>] generic_make_request+0xe2/0x130
[<ffffffff812bf0a1>] submit_bio+0x71/0x150
[<ffffffff8121059d>] ? bio_alloc_bioset+0x1fd/0x350
[<ffffffff812ca16a>] blkdev_issue_discard+0x1fa/0x2d0
[<ffffffff812d10d5>] blkdev_ioctl+0x5a5/0x760
[<ffffffff81212531>] block_ioctl+0x41/0x50
[<ffffffff811eacf5>] do_vfs_ioctl+0x2e5/0x4c0
[<ffffffff811eaf71>] SyS_ioctl+0xa1/0xc0
[<ffffffff8163aec9>] system_call_fastpath+0x16/0x1b
Leave a Reply