From: NeilBrown <neilb@suse.com>
To: Wang Sheng-Hui <shhuiw@foxmail.com>, axboe <axboe@fb.com>,
linux-block <linux-block@vger.kernel.org>
Cc: Goldwyn Rodrigues <rgoldwyn@suse.de>
Subject: Re: confusion about bio_split
Date: Tue, 23 Jan 2018 18:00:04 +1100 [thread overview]
Message-ID: <87o9ll83gr.fsf@notabene.neil.brown.name> (raw)
In-Reply-To: <tencent_2CB1180FF26CF53DED88D66CCA27AA87DC0A@qq.com>
[-- Attachment #1: Type: text/plain, Size: 739 bytes --]
On Mon, Jan 15 2018, Wang Sheng-Hui wrote:
> Dear,
>
> Sorry to trouble you.
>
> I'm confused by the following code in bio.c/bio_split:
> -------------------------------------
> struct bio *bio_split(struct bio *bio, int sectors,
> ...
> if (bio_flagged(bio, BIO_TRACE_COMPLETION))
> bio_set_flag(bio, BIO_TRACE_COMPLETION);
> ...
> }
> EXPORT_SYMBOL(bio_split);
> ------------------------------------
>
> I think it maybe flag on the new split set, right?
Goldwyn Rodrigues posted a patch to fix this a couple of
months ago.
Jens - can you apply that? Do you need it resent?
https://www.mail-archive.com/linux-block@vger.kernel.org/msg16039.html
Thanks,
NeilBrown
>
>
> Regards,
> shenghui
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]
next prev parent reply other threads:[~2018-01-23 7:00 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-01-15 3:25 confusion about bio_split Wang Sheng-Hui
2018-01-23 7:00 ` NeilBrown [this message]
2018-01-23 16:12 ` Jens Axboe
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=87o9ll83gr.fsf@notabene.neil.brown.name \
--to=neilb@suse.com \
--cc=axboe@fb.com \
--cc=linux-block@vger.kernel.org \
--cc=rgoldwyn@suse.de \
--cc=shhuiw@foxmail.com \
/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