Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1281519 > unrolled thread

Re: [PATCH] block: add calls to split trace point

Started byMike Krinkin <krinkin.m.u@gmail.com>
First post2015-12-02 09:30 +0100
Last post2015-12-02 20:10 +0100
Articles 3 — 2 participants

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH] block: add calls to split trace point Mike Krinkin <krinkin.m.u@gmail.com> - 2015-12-02 09:30 +0100
    Re: [PATCH] block: add calls to split trace point Jens Axboe <axboe@kernel.dk> - 2015-12-02 18:10 +0100
      Re: [PATCH] block: add calls to split trace point Mike Krinkin <krinkin.m.u@gmail.com> - 2015-12-02 20:10 +0100

#1281519 — Re: [PATCH] block: add calls to split trace point

FromMike Krinkin <krinkin.m.u@gmail.com>
Date2015-12-02 09:30 +0100
SubjectRe: [PATCH] block: add calls to split trace point
Message-ID<qBaXv-4EG-7@gated-at.bofh.it>
Hi Jens,

i would like to check status of the patch, will the patch be applied?
--
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/

[toc] | [next] | [standalone]


#1282049

FromJens Axboe <axboe@kernel.dk>
Date2015-12-02 18:10 +0100
Message-ID<qBj4M-1FO-65@gated-at.bofh.it>
In reply to#1281519
On 12/02/2015 01:25 AM, Mike Krinkin wrote:
> Hi Jens,
>
> i would like to check status of the patch, will the patch be applied?
>

Why aren't you just putting the split trace call into blk_queue_split()?

-- 
Jens Axboe

--
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/

[toc] | [prev] | [next] | [standalone]


#1282276

FromMike Krinkin <krinkin.m.u@gmail.com>
Date2015-12-02 20:10 +0100
Message-ID<qBkWS-2Tg-25@gated-at.bofh.it>
In reply to#1282049
On Wed, Dec 02, 2015 at 10:06:09AM -0700, Jens Axboe wrote:
> On 12/02/2015 01:25 AM, Mike Krinkin wrote:
> >Hi Jens,
> >
> >i would like to check status of the patch, will the patch be applied?
> >
> 
> Why aren't you just putting the split trace call into blk_queue_split()?

Do you mean after split? Something like this:

	if (split) {
		/* there isn't chance to merge the splitted bio */
		split->bi_rw |= REQ_NOMERGE;

		bio_chain(split, *bio);
		trace_block_split(q, split, bio->bi_iter.bi_sector);
		generic_make_request(*bio);
		*bio = split;
	}

block_split trace event docs says that it expects "bio being split", i
understood it as "bio before split". But scarcely someone depends on
this behaviour, so i'll resend the patch, is it ok?
--
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/

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web