From: Minwoo Im <minwoo.im.dev@gmail.com>
To: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Cc: linux-block@vger.kernel.org, Minwoo Im <minwoo.im.dev@gmail.com>
Subject: Re: [PATCH] null_blk: add unlikely for REQ_OP_DISACRD handling
Date: Wed, 3 Jul 2019 16:17:37 +0900 [thread overview]
Message-ID: <20190703071737.GD21258@minwoo-desktop> (raw)
In-Reply-To: <20190702032027.24066-1-chaitanya.kulkarni@wdc.com>
On 19-07-01 20:20:27, Chaitanya Kulkarni wrote:
> Since discard requests are not as common as read and write requests
> mark REQ_OP_DISCARD condition unlikely in the null_handle_rq() and
> null_handle_bio().
>
> Signed-off-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Chaitanya,
Just a simple doubt here. I just have tested this patch with 'dd' to
see any performance benefit when queue_mode == 0 || 1. But I don't
think it's worth it for the performance of read/write OR I have an wrong
way to test it. you have never mentioned performance in this patch,
though.
But, I do like this patch because it will indicate what you have
mentioned in the commit message in the code level.
Reviewed-by: Minwoo Im <minwoo.im.dev@gmail.com>
Thanks!
next prev parent reply other threads:[~2019-07-03 7:17 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-07-02 3:20 [PATCH] null_blk: add unlikely for REQ_OP_DISACRD handling Chaitanya Kulkarni
2019-07-03 7:17 ` Minwoo Im [this message]
2019-07-03 13:39 ` Jens Axboe
2019-07-04 0:14 ` Chaitanya Kulkarni
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=20190703071737.GD21258@minwoo-desktop \
--to=minwoo.im.dev@gmail.com \
--cc=chaitanya.kulkarni@wdc.com \
--cc=linux-block@vger.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