From: Johannes Thumshirn <jthumshirn@suse.de>
To: Bart Van Assche <bart.vanassche@sandisk.com>
Cc: "Jens Axboe" <axboe@kernel.dk>,
linux-block@vger.kernel.org, "Matias Bjørling" <m@bjorling.me>,
"Adam Manzanares" <adam.manzanares@wdc.com>
Subject: Re: [PATCH v2 3/5] lightnvm: Use blk_init_request_from_bio() instead of open-coding it
Date: Thu, 20 Apr 2017 10:30:43 +0200 [thread overview]
Message-ID: <20170420083043.GY6217@linux-x5ow.site> (raw)
In-Reply-To: <20170419210128.28374-4-bart.vanassche@sandisk.com>
On Wed, Apr 19, 2017 at 02:01:26PM -0700, Bart Van Assche wrote:
> This patch changes the behavior of the lightnvm driver as follows:
> * REQ_FAILFAST_MASK is set for read-ahead requests.
> * If no I/O priority has been set in the bio, the I/O priority is
> copied from the I/O context.
> * The rq_disk member is initialized if bio->bi_bdev != NULL.
> * The bio sector offset is copied into req->__sector instead of
> retaining the value -1 set by blk_mq_alloc_request().
> * req->errors is initialized to zero.
>
> Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com>
> Reviewed-by: Christoph Hellwig <hch@lst.de>
> Cc: Matias Bj�rling <m@bjorling.me>
> Cc: Adam Manzanares <adam.manzanares@wdc.com>
> ---
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
--
Johannes Thumshirn Storage
jthumshirn@suse.de +49 911 74053 689
SUSE LINUX GmbH, Maxfeldstr. 5, 90409 N�rnberg
GF: Felix Imend�rffer, Jane Smithard, Graham Norton
HRB 21284 (AG N�rnberg)
Key fingerprint = EC38 9CAB C2C4 F25D 8600 D0D0 0393 969D 2D76 0850
next prev parent reply other threads:[~2017-04-20 8:30 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-04-19 21:01 [PATCH v2 0/5] Reduce code duplication Bart Van Assche
2017-04-19 21:01 ` [PATCH v2 1/5] block: Export blk_init_request_from_bio() Bart Van Assche
2017-04-20 8:30 ` Johannes Thumshirn
2017-04-19 21:01 ` [PATCH v2 2/5] null_blk: Use blk_init_request_from_bio() instead of open-coding it Bart Van Assche
2017-04-20 8:30 ` Johannes Thumshirn
2017-04-19 21:01 ` [PATCH v2 3/5] lightnvm: " Bart Van Assche
2017-04-20 8:30 ` Johannes Thumshirn [this message]
2017-04-19 21:01 ` [PATCH v2 4/5] block: Inline blk_rq_set_prio() Bart Van Assche
2017-04-20 8:31 ` Johannes Thumshirn
2017-04-19 21:01 ` [PATCH v2 5/5] block: Optimize ioprio_best() Bart Van Assche
2017-04-19 23:52 ` [PATCH v2 0/5] Reduce code duplication 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=20170420083043.GY6217@linux-x5ow.site \
--to=jthumshirn@suse.de \
--cc=adam.manzanares@wdc.com \
--cc=axboe@kernel.dk \
--cc=bart.vanassche@sandisk.com \
--cc=linux-block@vger.kernel.org \
--cc=m@bjorling.me \
/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