[PATCH] nvme/scsi: Consider LBA format in IO splitting calculation
Damien Le Moal
damien.lemoal at wdc.com
Mon Apr 24 21:43:20 PDT 2017
Jens,
On 4/25/17 13:32, Jens Axboe wrote:
>> I just realized that this macro is defined in linux/device-mapper.h,
>> which does not seem like to best place to have it. Why not blkdev.h ?
>> Any particular reason ? This leads to some strange include dependencies,
>> like many nfs/blocklayout/ files including device-mapper.h just to get
>> that definition.
>
> I'm fine with moving it and using it everywhere. Right now we don't in
> the block core at all, 9 is always hard coded. While that change would
> be fine, it should be done independently of this patch, which is a real
> bug fix.
Thank you for the clarification. I will try to send something later.
Best regards.
--
Damien Le Moal,
Western Digital
More information about the Linux-nvme
mailing list