Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1761126AbbBIQjB (ORCPT ); Mon, 9 Feb 2015 11:39:01 -0500 Received: from mail-we0-f174.google.com ([74.125.82.174]:37732 "EHLO mail-we0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1761110AbbBIQi7 (ORCPT ); Mon, 9 Feb 2015 11:38:59 -0500 Date: Mon, 9 Feb 2015 17:38:56 +0100 From: Dongsu Park To: Jens Axboe Cc: Keith Busch , Mike Snitzer , dm-devel@redhat.com, linux-kernel@vger.kernel.org Subject: blk-mq crash with dm-multipath in for-3.20/core Message-ID: <20150209163856.GA12781@posteo.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2519 Lines: 57 Hi Jens, during testing with the linux-block for-3.20/core branch, I hit a BUG like below. It's reproducible by running xfstests/xfs/279. Bisecting showed that the first bad commit is 6d6285c45f5a ("block: require blk_rq_prep_clone() be given an initialized clone request"). With reverting this commit, the crash disappears. The linux-dm's branch dm-for-3.20 works fine without crash too. As pointed out already by Keith Busch in a thread, [1] that commit should not be there in the first place. Commit 102e38b1030e ("dm: split request structure out from dm_rq_target_io structure") from linux-dm tree [2] is going to move the blk_rq_init() call again to __clone_rq(). So that commit 6d6285c45f5a should be either reverted, or moved to linux-dm tree, doesn't it? Cheers, Dongsu [1] https://www.redhat.com/archives/dm-devel/2015-January/msg00171.html [2] https://git.kernel.org/cgit/linux/kernel/git/device-mapper/linux-dm.git/commit/?h=dm-for-3.20&id=102e38b1030e883efc022dfdc7b7e7a3de70d1c5 ------------[ cut here ]------------ kernel BUG at block/blk-core.c:2333! RIP: 0010: [] blk_dequeue_request+0x78/0x90 Call Trace: [] blk_start_request+0x16/0x70 [] dm_start_request+0x1a/0x50 [] dm_request_fn+0x2b6/0x3e0 [] __blk_run_queue+0x37/0x50 [] queue_unplugged+0x5d/0x230 [] blk_flush_plug_list+0x1ac/0x230 [] blk_finish_plug+0x18/0x60 [] __do_page_cache_readahead+0x2b1/0x320 [] ? __do_page_cache_readahead+0x165/0x320 [] ondemand_readahead+0xe2/0x480 [] ? pagecache_get_page+0x2f/0x200 [] page_cache_sync_readahead+0x31/0x50 [] generic_file_read_iter+0x51c/0x630 [] ? might_fault+0x5e/0xc0 [] blkdev_read_iter+0x37/0x40 [] new_sync_read+0x7e/0xb0 [] __vfs_read+0x18/0x50 [] vfs_read+0x8d/0x150 [] SyS_read+0x49/0xb0 [] system_call_fastpath+0x12/0x17 RIP [] blk_dequeue_request+0x78/0x90 RSP ---[ end trace dcfc3d438518b1aa ]--- -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/