public inbox for linux-raid@vger.kernel.org
 help / color / mirror / Atom feed
From: Guoqing Jiang <jgq516@gmail.com>
To: "Song Liu" <song@kernel.org>,
	"Paweł Wiejacha" <pawel.wiejacha@rtbhouse.com>
Cc: linux-raid <linux-raid@vger.kernel.org>,
	Artur Paszkiewicz <artur.paszkiewicz@intel.com>
Subject: Re: PROBLEM: double fault in md_end_io
Date: Sat, 8 May 2021 09:17:32 +0800	[thread overview]
Message-ID: <3bf04253-3fad-434a-63a7-20214e38cf26@gmail.com> (raw)
In-Reply-To: <9d644350-12b1-e32d-ba69-31be8ac2f6cf@gmail.com>



On 5/7/21 7:46 AM, Guoqing Jiang wrote:
>
>
> On 5/6/21 1:48 PM, Song Liu wrote:
>> Hi Paweł,
>>
>> On Tue, May 4, 2021 at 2:18 PM Paweł Wiejacha
>> <pawel.wiejacha@rtbhouse.com> wrote:
>>> Guoqing's patch fixes the problem. Here's the actual patch I am using:
>> Thanks for running the tests.
>
> Thanks for the test, the better way could be just call 
> bio_flagged(bio, BIO_CHAIN)
> then no need to export bi_chain_endio.

Err, BIO_CHAIN is set for parent bio, then we have to export 
bi_chain_endio if there
is no way to detect whether the bio was split from parent bio or not.

Thanks,
Guoqing

      reply	other threads:[~2021-05-08  1:17 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-09 21:40 PROBLEM: double fault in md_end_io Paweł Wiejacha
2021-04-12  6:48 ` Song Liu
2021-04-13 12:05   ` Paweł Wiejacha
2021-04-15  0:36     ` Song Liu
2021-04-15  6:35       ` Song Liu
2021-04-15 15:35         ` Paweł Wiejacha
2021-04-22 15:40           ` Paweł Wiejacha
2021-04-23  2:36 ` Guoqing Jiang
2021-04-23  6:44   ` Song Liu
2021-05-04 21:17     ` Paweł Wiejacha
2021-05-06  5:48       ` Song Liu
2021-05-06 23:46         ` Guoqing Jiang
2021-05-08  1:17           ` Guoqing Jiang [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3bf04253-3fad-434a-63a7-20214e38cf26@gmail.com \
    --to=jgq516@gmail.com \
    --cc=artur.paszkiewicz@intel.com \
    --cc=linux-raid@vger.kernel.org \
    --cc=pawel.wiejacha@rtbhouse.com \
    --cc=song@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox