Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp6094218pxu; Wed, 23 Dec 2020 13:21:33 -0800 (PST) X-Google-Smtp-Source: ABdhPJy02MP2QdJOHmPHLUS5tPHXPT40DtWsk6utoOYLWMASH1WV/FXlhjgquXNX+7AZzI/lhvQS X-Received: by 2002:aa7:ce94:: with SMTP id y20mr25885066edv.361.1608758493176; Wed, 23 Dec 2020 13:21:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1608758493; cv=none; d=google.com; s=arc-20160816; b=grRarYfYQXtWiBrJyJkvMsdRHTQC2jYjk78kAGhv40NhvFAjq6oIZ7XXmt5HrOM/fB DUt/QdmZE8/eTv24CXPvw4yKloeHdFqb/9C6Nb2F8VphGktLcjqLSNqqujzwWcK7e2N0 1awE2NuxAWedZ9BtovprMkwb0n7zfrzywrBirZL5yCE+xQeYJyhd9YftdmpDpCc8JLvm /ESd7741Yb3jx/MVtO2bZ/GlHKkcdQy+RBuOHPWkIwz5+OHBU1BYl4PXLA4d091WZc7H 2ai+I/0wJKf4QwS30HQuP/uWFfC8UjCy0uj03gflh1/56hd8okXIRQY9fy+7YmxaJdym aN/A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:subject:from :references:cc:to; bh=rgoaMYQTSeYjZSpGY5AZECfcP/KNQEivTpWNZrMPLhU=; b=q85PLjoGph2wO36V6oQld5lA/TSYXfO0dqHTup4n8MgsNr3jWX5S9h7X2owKpsgUBz HFA1TtZpXJwn3KESnkwEcOex8q1MLdZgpmrc91OP0jma/X7sAW61u2Vc9BIGmdjmrmrz WN2Mki1Hd/cpdY3WYgOOe+OhwBWvYs5j524Fs6nOL5v7BnTt8Fyl8L5EOMcHYHdgRtDN IhSDqBoaD9AdWPxRv+VchX6VFI3VN0eDe+5ZkeUg+AeFtDTCxSEHPKyEUM78XMXZ2kjN hLuXu+EpzTE7hXS7FFvo+YOxyo8YoSzFZVBIPQG+YfSd2jzVxP1rq30Ljwv0oVmDv69s y9VQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a29si15153527edm.401.2020.12.23.13.21.10; Wed, 23 Dec 2020 13:21:33 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728986AbgLWVUm (ORCPT + 99 others); Wed, 23 Dec 2020 16:20:42 -0500 Received: from vps-vb.mhejs.net ([37.28.154.113]:40312 "EHLO vps-vb.mhejs.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726279AbgLWVUl (ORCPT ); Wed, 23 Dec 2020 16:20:41 -0500 Received: from MUA by vps-vb.mhejs.net with esmtps (TLS1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.93.0.4) (envelope-from ) id 1ksBXv-0005iQ-Eq; Wed, 23 Dec 2020 22:19:47 +0100 To: Ignat Korchagin Cc: Alasdair G Kergon , Mike Snitzer , device-mapper development , dm-crypt@saout.de, linux-kernel , Eric Biggers , Damien Le Moal , Mikulas Patocka , Herbert Xu , kernel-team , Nobuto Murata , Chris Mason , Josef Bacik , David Sterba , linux-btrfs@vger.kernel.org, linux-crypto References: <16ffadab-42ba-f9c7-8203-87fda3dc9b44@maciej.szmigiero.name> <74c7129b-a437-ebc4-1466-7fb9f034e006@maciej.szmigiero.name> From: "Maciej S. Szmigiero" Subject: Re: dm-crypt with no_read_workqueue and no_write_workqueue + btrfs scrub = BUG() Message-ID: Date: Wed, 23 Dec 2020 22:19:41 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 23.12.2020 22:09, Ignat Korchagin wrote: (..) > I've been looking into this for the last couple of days because of > other reports [1]. > Just finished testing a possible solution. Will submit soon. Thanks for looking into it. By the way, on a bare metal I am actually hitting a different problem (scheduling while atomic) when scrubbing a btrfs filesystem, just as one of your users from that GitHub report had [1]. I've pasted that backtrace in my original Dec 14 message. Thanks, Maciej [1]: https://github.com/cloudflare/linux/issues/1#issuecomment-736734243