Re: [PATCH v2 3/5] lightnvm: Use blk_init_request_from_bio() instead of open-coding it

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxx>
> Reviewed-by: Christoph Hellwig <hch@xxxxxx>
> Cc: Matias Bjørling <m@xxxxxxxxxxx>
> Cc: Adam Manzanares <adam.manzanares@xxxxxxx>
> ---

Reviewed-by: Johannes Thumshirn <jthumshirn@xxxxxxx>
-- 
Johannes Thumshirn                                          Storage
jthumshirn@xxxxxxx                                +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



[Index of Archives]     [Linux RAID]     [Linux SCSI]     [Linux ATA RAID]     [IDE]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Device Mapper]

  Powered by Linux